summaryrefslogtreecommitdiffstats
path: root/Templates/CMakeWindowsSystemConfig.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-08-16 21:42:58 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-08-16 21:42:58 (GMT)
commit18165bbe112364dee8a284288352c694b48745e7 (patch)
treeafe6cfcbbf07fa519523fc19abf96d37f8e20e62 /Templates/CMakeWindowsSystemConfig.cmake
parent3b9f97f32d019520c372551ab4c6a321cb560094 (diff)
downloadCMake-18165bbe112364dee8a284288352c694b48745e7.zip
CMake-18165bbe112364dee8a284288352c694b48745e7.tar.gz
CMake-18165bbe112364dee8a284288352c694b48745e7.tar.bz2
ENH: add CMAKE_USE_WIN32_THREADS to the possible thread types
Diffstat (limited to 'Templates/CMakeWindowsSystemConfig.cmake')
-rw-r--r--Templates/CMakeWindowsSystemConfig.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Templates/CMakeWindowsSystemConfig.cmake b/Templates/CMakeWindowsSystemConfig.cmake
index 69199ed..895a8b5 100644
--- a/Templates/CMakeWindowsSystemConfig.cmake
+++ b/Templates/CMakeWindowsSystemConfig.cmake
@@ -14,3 +14,4 @@ SET (CMAKE_CXX_FLAGS_DEBUG "/MDd /Zi /Od /GZ" CACHE STRING
"Flags used by the compiler during debug builds")
SET (CMAKE_CXX_FLAGS "/W3 /Zm1000 /GX /GR" CACHE STRING
"Flags used by the compiler during all build types, /GX /GR are for exceptions and rtti in VC++, /Zm1000 increases the compiler's memory allocation to support ANSI C++/stdlib")
+SET (CMAKE_USE_WIN32_THREADS 1 CACHE BOOL "Use the win32 thread library")