]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Preparation SALOME 7.2.0 win 32 version.
authorrnv <rnv@opencascade.com>
Mon, 24 Jun 2013 07:47:15 +0000 (07:47 +0000)
committerrnv <rnv@opencascade.com>
Mon, 24 Jun 2013 07:47:15 +0000 (07:47 +0000)
CMakeLists.txt

index 1fd90c7cc6372ec33dab26e83a2bd7871086aa99..7974a4e228e02f7cd188696eed94a4edc76691a9 100755 (executable)
@@ -63,8 +63,12 @@ option(SALOME_USE_TEST "Generate test" OFF)
 option(SALOME_USE_LIBBATCH "Generate Launcher" ON)
 
 # Threads
-SET(CMAKE_THREAD_PREFER_PTHREAD)
-find_package(Threads REQUIRED)
+if(WINDOWS)
+  find_package(SalomePTHREAD REQUIRED)
+else(WINDOWS)
+  SET(CMAKE_THREAD_PREFER_PTHREAD)
+  find_package(Threads REQUIRED)
+endif(WINDOWS)
 
 # required prerequisites