]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
compatibility medmem
authoradam <adam>
Mon, 26 Jan 2009 10:56:45 +0000 (10:56 +0000)
committeradam <adam>
Mon, 26 Jan 2009 10:56:45 +0000 (10:56 +0000)
salome_adm/cmake_files/FindBOOST.cmake

index d7228a0db04e92e649264cc098e99002259383ec..c8af5d0033ba09e79070bab59144aeade4b3a268 100644 (file)
 SET(BOOST_ROOT $ENV{BOOST_ROOT})
 IF(BOOST_ROOT)
   FIND_PATH(BOOST_INCLUDES boost/shared_ptr.hpp ${BOOST_ROOT})
-  # FIND_LIBRARY(BOOST_LIBS boost_thread-vc80-mt-1_34_1 ${BOOST_ROOT}/lib)
+  FIND_LIBRARY(BOOST_LIB_THREAD libboost_thread-vc90-mt-gd-1_35 ${BOOST_ROOT}/lib)
+  FIND_LIBRARY(BOOST_LIB_DATE_TIME libboost_date_time-vc90-mt-gd-1_35 ${BOOST_ROOT}/lib)
+  SET(BOOST_LIBS ${BOOST_LIB_THREAD} ${BOOST_LIB_DATE_TIME})
   SET(BOOST_CPPFLAGS -I${BOOST_INCLUDES})
+ELSE(BOOST_ROOT)
+  SET(boost_thread -lboost_thread)
 ENDIF(BOOST_ROOT)