diff options
-rw-r--r-- | Templates/CMakeSystemConfig.cmake.in | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/Templates/CMakeSystemConfig.cmake.in b/Templates/CMakeSystemConfig.cmake.in index 9e53e9b..4b7dd08 100644 --- a/Templates/CMakeSystemConfig.cmake.in +++ b/Templates/CMakeSystemConfig.cmake.in @@ -10,8 +10,10 @@ SET (CMAKE_USE_SPROC @CMAKE_USE_SPROC@ CACHE BOOL SET (CMAKE_USE_PTHREADS @CMAKE_USE_PTHREADS@ CACHE BOOL "Use the pthreads library.") -SET (CMAKE_USE_WIN32_THREADS @CMAKE_USE_WIN32_THREADS@ CACHE BOOL - "Use the win32 thread library.") +IF(WIN32) + SET (CMAKE_USE_WIN32_THREADS @CMAKE_USE_WIN32_THREADS@ CACHE BOOL + "Use the win32 thread library.") +ENDIF(WIN32) SET (CMAKE_HP_PTHREADS @CMAKE_HP_PTHREADS@ CACHE BOOL "Use HP pthreads.") @@ -55,15 +57,6 @@ SET (CMAKE_MODULE_BUILD_FLAGS "@CMAKE_MODULE_BUILD_FLAGS@" CACHE STRING SET (CMAKE_INSTALL_PREFIX @prefix@ CACHE PATH "Install path prefix, prepended onto install directories.") -SET (CMAKE_OBJECT_FILE_SUFFIX @CMAKE_OBJECT_FILE_SUFFIX@ CACHE STRING - "Object file suffix.") - -SET (CMAKE_EXECUTABLE_SUFFIX @CMAKE_EXECUTABLE_SUFFIX@ CACHE STRING - "Executable suffix.") - -SET (CMAKE_STATICLIB_SUFFIX @CMAKE_STATICLIB_SUFFIX@ CACHE STRING - "Static library suffix.") - SET (CMAKE_SHLIB_SUFFIX @CMAKE_SHLIB_SUFFIX@ CACHE STRING "Shared library suffix.") |