From cd58fe4b5d2afaffa215bdfb4233f6ba8fb378ff Mon Sep 17 00:00:00 2001 From: adam Date: Mon, 26 Jan 2009 10:56:45 +0000 Subject: [PATCH] compatibility medmem --- salome_adm/cmake_files/FindBOOST.cmake | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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) -- 2.39.2