From: rnv Date: Mon, 24 Jun 2013 07:47:15 +0000 (+0000) Subject: Preparation SALOME 7.2.0 win 32 version. X-Git-Tag: V7_2_0_WIN~11 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a92447133062e91605e5d8136e9892efcee44ed0;p=modules%2Fkernel.git Preparation SALOME 7.2.0 win 32 version. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 1fd90c7cc..7974a4e22 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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