CMake: Corrected variable check.
authorOscar Fuentes <ofv@wanadoo.es>
Fri, 14 Aug 2009 19:56:04 +0000 (19:56 +0000)
committerOscar Fuentes <ofv@wanadoo.es>
Fri, 14 Aug 2009 19:56:04 +0000 (19:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79030 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/CMakeLists.txt

index 05534233599e28db6ffce7677d41c7b8fde22bdf..7c9f5d8c25562615c343ca6cec45ddd0c7918c4a 100644 (file)
@@ -29,7 +29,7 @@ set(sources
   X86FastISel.cpp
   )
 
-if( CL_64 )
+if( CMAKE_CL_64 )
   enable_language(ASM_MASM)
   set(sources ${sources} X86CompilationCallback_Win64.asm)
 endif()