A workaround for a bug in cmake 2.8.3 diagnosed on PR 8885.

llvm-svn: 122706
This commit is contained in:
Oscar Fuentes 2011-01-02 19:32:31 +00:00
parent 5361b84184
commit 68b7bb95d4
1 changed files with 5 additions and 0 deletions

View File

@ -41,6 +41,11 @@ set(sources
)
if( CMAKE_CL_64 )
# A workaround for a bug in cmake 2.8.3. See PR 8885.
if( CMAKE_VERSION STREQUAL "2.8.3" )
include(CMakeDetermineCompilerId)
endif()
# end of workaround.
enable_language(ASM_MASM)
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/X86CompilationCallback_Win64.obj