diff options
author | Oscar Fuentes <ofv@wanadoo.es> | 2011-01-02 19:32:31 +0000 |
---|---|---|
committer | Oscar Fuentes <ofv@wanadoo.es> | 2011-01-02 19:32:31 +0000 |
commit | 3458534f11417e0269401346e98331a9282c8573 (patch) | |
tree | 185425921dd855dc0fc34aa615b06de817804ee4 /lib/Target/X86/CMakeLists.txt | |
parent | d081b04f99de015519357ccaef29868c38c57d87 (diff) | |
download | external_llvm-3458534f11417e0269401346e98331a9282c8573.zip external_llvm-3458534f11417e0269401346e98331a9282c8573.tar.gz external_llvm-3458534f11417e0269401346e98331a9282c8573.tar.bz2 |
A workaround for a bug in cmake 2.8.3 diagnosed on PR 8885.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122706 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/CMakeLists.txt')
-rw-r--r-- | lib/Target/X86/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Target/X86/CMakeLists.txt b/lib/Target/X86/CMakeLists.txt index 036dbcd..facdfd5 100644 --- a/lib/Target/X86/CMakeLists.txt +++ b/lib/Target/X86/CMakeLists.txt @@ -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 |