]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Integration requested by Alexander
authoradam <adam>
Tue, 28 Apr 2009 14:13:00 +0000 (14:13 +0000)
committeradam <adam>
Tue, 28 Apr 2009 14:13:00 +0000 (14:13 +0000)
salome_adm/cmake_files/FindPTHREADS.cmake

index 1f4808cd3467e2d95b1c7b79e9504257703e2ac2..68e180a0dc5f471fc1b87c2dd31185ec956e57d4 100644 (file)
@@ -104,9 +104,9 @@ ENDIF(PTHREADS_STATUS)
 IF(PTHREADS_STATUS)
   IF(WINDOWS)
     IF(CMAKE_BUILD_TYPE STREQUAL Release)
-      FIND_LIBRARY(PTHREAD_LIB pthreadVSE2 PATHS ${PTHREADS_LIB_PATHS} ${PTHREADS_FIND_PATHS_OPTION})
+      FIND_LIBRARY(PTHREAD_LIB pthreadVSE2 pthreadVC2 PATHS ${PTHREADS_LIB_PATHS} ${PTHREADS_FIND_PATHS_OPTION})
     ELSE(CMAKE_BUILD_TYPE STREQUAL Release)
-      FIND_LIBRARY(PTHREAD_LIB pthreadVSE2d PATHS ${PTHREADS_LIB_PATHS} ${PTHREADS_FIND_PATHS_OPTION})
+      FIND_LIBRARY(PTHREAD_LIB pthreadVSE2d pthreadVC2d PATHS ${PTHREADS_LIB_PATHS} ${PTHREADS_FIND_PATHS_OPTION})
     ENDIF(CMAKE_BUILD_TYPE STREQUAL Release)
   ELSE(WINDOWS)
     FIND_LIBRARY(PTHREAD_LIB pthread PATHS ${PTHREADS_LIB_PATHS} ${PTHREADS_FIND_PATHS_OPTION})