[llvm-commits] [llvm] r122706 - /llvm/trunk/lib/Target/X86/CMakeLists.txt
Oscar Fuentes
ofv at wanadoo.es
Sun Jan 2 11:32:32 PST 2011
Author: ofv
Date: Sun Jan 2 13:32:31 2011
New Revision: 122706
URL: http://llvm.org/viewvc/llvm-project?rev=122706&view=rev
Log:
A workaround for a bug in cmake 2.8.3 diagnosed on PR 8885.
Modified:
llvm/trunk/lib/Target/X86/CMakeLists.txt
Modified: llvm/trunk/lib/Target/X86/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/CMakeLists.txt?rev=122706&r1=122705&r2=122706&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/CMakeLists.txt (original)
+++ llvm/trunk/lib/Target/X86/CMakeLists.txt Sun Jan 2 13:32:31 2011
@@ -41,6 +41,11 @@
)
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
More information about the llvm-commits
mailing list