Fix typos on LLVM.cmake. Export LLVM_ON_UNIX & LLVM_ON_WIN32.
authorOscar Fuentes <ofv@wanadoo.es>
Sun, 3 Apr 2011 16:12:38 +0000 (16:12 +0000)
committerOscar Fuentes <ofv@wanadoo.es>
Sun, 3 Apr 2011 16:12:38 +0000 (16:12 +0000)
Patch by arrowdodger!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128789 91177308-0d34-0410-b5e6-96231b3b80d8

cmake/modules/LLVM.cmake

index 9182afdf2758cd9a81d603e627dc799ef86380a4..8afc63d7a38922e53ec080fb61af60d1b1dc4bee 100644 (file)
@@ -20,10 +20,10 @@ set(LLVM_NATIVE_ARCH @LLVM_NATIVE_ARCH@)
 
 set(LLVM_ENABLE_PIC @LLVM_ENABLE_PIC@)
 
-set(LLVM_ENABLE_THREADS @LLVM_ENABLE_THREADS)
-
 set(HAVE_LIBDL @HAVE_LIBDL@)
-set(HAVE_LIBPTHREAD @HAVE_LIBPTHREAD)
+set(HAVE_LIBPTHREAD @HAVE_LIBPTHREAD@)
+set(LLVM_ON_UNIX @LLVM_ON_UNIX@)
+set(LLVM_ON_WIN32 @LLVM_ON_WIN32@)
 
 # We try to include using the current setting of CMAKE_MODULE_PATH,
 # which suppossedly was filled by the user with the directory where