From a92447133062e91605e5d8136e9892efcee44ed0 Mon Sep 17 00:00:00 2001 From: rnv Date: Mon, 24 Jun 2013 07:47:15 +0000 Subject: [PATCH] Preparation SALOME 7.2.0 win 32 version. --- CMakeLists.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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 -- 2.39.2