From: adam Date: Mon, 4 Jan 2010 10:48:27 +0000 (+0000) Subject: Don't search the boost libs in system path if using WITH_BOOST X-Git-Tag: PARAVIS_29012010~21 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0b68712a69bea1ee6ddb75b0aee3db456ab39051;p=modules%2Fkernel.git Don't search the boost libs in system path if using WITH_BOOST --- diff --git a/salome_adm/cmake_files/FindBOOST.cmake b/salome_adm/cmake_files/FindBOOST.cmake index 9d87a7400..65600aa39 100644 --- a/salome_adm/cmake_files/FindBOOST.cmake +++ b/salome_adm/cmake_files/FindBOOST.cmake @@ -114,9 +114,9 @@ IF(BOOST_STATUS) FOREACH(version 1_35 1_38) SET(LIB_NAMES ${LIB_NAMES} libboost_${name}-vc90-mt${EXTENSION}-${version}) ENDFOREACH(version 1_35 1_38) - FIND_LIBRARY(BOOST_LIB_${name} NAMES ${LIB_NAMES} PATHS ${BOOST_LIB_PATHS}) + FIND_LIBRARY(BOOST_LIB_${name} NAMES ${LIB_NAMES} PATHS ${BOOST_LIB_PATHS} ${BOOST_FIND_PATHS_OPTION}) ELSE(WINDOWS) - FIND_LIBRARY(BOOST_LIB_${name} boost_${name} PATHS ${BOOST_LIB_PATHS}) + FIND_LIBRARY(BOOST_LIB_${name} boost_${name} PATHS ${BOOST_LIB_PATHS} ${BOOST_FIND_PATHS_OPTION}) ENDIF(WINDOWS) IF(NOT BOOST_LIB_${name}) SET(BOOST_STATUS 0)