forked from OSchip/llvm-project
A workaround for a bug in cmake 2.8.3 diagnosed on PR 8885.
llvm-svn: 122706
This commit is contained in:
parent
5361b84184
commit
68b7bb95d4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue