From: adam Date: Mon, 26 Jan 2009 10:56:45 +0000 (+0000) Subject: compatibility medmem X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=cd58fe4b5d2afaffa215bdfb4233f6ba8fb378ff;p=modules%2Fkernel.git compatibility medmem --- diff --git a/salome_adm/cmake_files/FindBOOST.cmake b/salome_adm/cmake_files/FindBOOST.cmake index d7228a0db..c8af5d003 100644 --- a/salome_adm/cmake_files/FindBOOST.cmake +++ b/salome_adm/cmake_files/FindBOOST.cmake @@ -22,6 +22,10 @@ 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)