summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeBackwardCompatibilityC.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-11-18 20:14:44 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-11-18 20:14:44 (GMT)
commitd05716c4984fc327e0504e9ab1062be67d1f4807 (patch)
tree7662a3b9c583a527dc112effc0f8b40ee4ba1326 /Modules/CMakeBackwardCompatibilityC.cmake
parent5b17658c91d88afab8220de0e9a00102f18d5758 (diff)
downloadCMake-d05716c4984fc327e0504e9ab1062be67d1f4807.zip
CMake-d05716c4984fc327e0504e9ab1062be67d1f4807.tar.gz
CMake-d05716c4984fc327e0504e9ab1062be67d1f4807.tar.bz2
BUG: fix for thread and cache override
Diffstat (limited to 'Modules/CMakeBackwardCompatibilityC.cmake')
-rw-r--r--Modules/CMakeBackwardCompatibilityC.cmake10
1 files changed, 5 insertions, 5 deletions
diff --git a/Modules/CMakeBackwardCompatibilityC.cmake b/Modules/CMakeBackwardCompatibilityC.cmake
index 7f8ebdb..eccad86 100644
--- a/Modules/CMakeBackwardCompatibilityC.cmake
+++ b/Modules/CMakeBackwardCompatibilityC.cmake
@@ -27,19 +27,19 @@ TEST_BIG_ENDIAN(CMAKE_WORDS_BIGENDIAN)
INCLUDE (${CMAKE_ROOT}/Modules/FindX11.cmake)
INCLUDE (${CMAKE_ROOT}/Modules/FindThreads.cmake)
-SET (CMAKE_THREAD_LIBS "${CMAKE_THREAD_LIBS}" CACHE STRING
+SET (CMAKE_THREAD_LIBS "${CMAKE_THREAD_LIBS_INIT}" CACHE STRING
"Thread library used.")
-SET (CMAKE_USE_PTHREADS "${CMAKE_USE_PTHREADS}" CACHE BOOL
+SET (CMAKE_USE_PTHREADS "${CMAKE_USE_PTHREADS_INIT}" CACHE BOOL
"Use the pthreads library.")
-SET (CMAKE_USE_WIN32_THREADS "${CMAKE_USE_WIN32_THREADS}" CACHE BOOL
+SET (CMAKE_USE_WIN32_THREADS "${CMAKE_USE_WIN32_THREADS_INIT}" CACHE BOOL
"Use the win32 thread library.")
-SET (CMAKE_HP_PTHREADS ${CMAKE_HP_PTHREADS} CACHE BOOL
+SET (CMAKE_HP_PTHREADS ${CMAKE_HP_PTHREADS_INIT} CACHE BOOL
"Use HP pthreads.")
-SET (CMAKE_USE_SPROC ${CMAKE_USE_SPROC} CACHE BOOL
+SET (CMAKE_USE_SPROC ${CMAKE_USE_SPROC_INIT} CACHE BOOL
"Use sproc libs.")
MARK_AS_ADVANCED(