From 767eaa11490bda0e0df2e63b1361823315cfd319 Mon Sep 17 00:00:00 2001 From: ageay Date: Thu, 22 Mar 2012 09:45:24 +0000 Subject: [PATCH] Cmakization of MED. --- salome_adm/cmake_files/FindBOOST.cmake | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/salome_adm/cmake_files/FindBOOST.cmake b/salome_adm/cmake_files/FindBOOST.cmake index 52cc6bcdb..8593edf3c 100644 --- a/salome_adm/cmake_files/FindBOOST.cmake +++ b/salome_adm/cmake_files/FindBOOST.cmake @@ -82,7 +82,8 @@ IF(BOOST_STATUS) FIND_PATH(BOOST_INCLUDE_DIR ${BOOST_INCLUDE_TO_FIND} PATHS ${BOOST_INCLUDE_PATHS} ${BOOST_FIND_PATHS_OPTION}) IF(BOOST_INCLUDE_DIR) IF(BOOST_ROOT_USER) - SET(BOOST_CPPFLAGS -I${BOOST_INCLUDE_DIR}) + SET(BOOST_CPPFLAGS -I${BOOST_INCLUDE_DIR})# to be removed + SET(BOOST_INCLUDES_DIR ${BOOST_INCLUDE_DIR}) ENDIF(BOOST_ROOT_USER) MESSAGE(STATUS "${BOOST_INCLUDE_TO_FIND} found in ${BOOST_INCLUDE_DIR}") ELSE(BOOST_INCLUDE_DIR) @@ -151,9 +152,11 @@ ENDIF(BOOST_STATUS) IF(BOOST_STATUS) IF(WINDOWS) - SET(BOOST_CPPFLAGS ${BOOST_CPPFLAGS} -DBOOST_DISABLE_ASSERTS) + SET(BOOST_CPPFLAGS ${BOOST_CPPFLAGS} -DBOOST_DISABLE_ASSERTS)# to be removed + SET(BOOST_FLAGS -DBOOST_DISABLE_ASSERTS) IF(BOOST_ENABLE_DLL) - SET(BOOST_CPPFLAGS ${BOOST_CPPFLAGS} -DBOOST_ALL_DYN_LINK) + SET(BOOST_CPPFLAGS ${BOOST_CPPFLAGS} -DBOOST_ALL_DYN_LINK)# to be removed + SET(BOOST_FLAGS -DBOOST_ALL_DYN_LINK) ENDIF(BOOST_ENABLE_DLL) ENDIF(WINDOWS) ELSE(BOOST_STATUS) -- 2.39.2