From: Sergey BELASH Date: Thu, 11 Sep 2014 09:42:31 +0000 (+0400) Subject: Boost include path corrected for the linux platform X-Git-Tag: V_0.4.4~72^2~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a5b8015061a6943fea3d5e254b04c890bf3e4ed5;p=modules%2Fshaper.git Boost include path corrected for the linux platform --- diff --git a/CMakeCommon/FindBoost.cmake b/CMakeCommon/FindBoost.cmake index e8d34a11e..f44122086 100644 --- a/CMakeCommon/FindBoost.cmake +++ b/CMakeCommon/FindBoost.cmake @@ -20,7 +20,13 @@ #find_package(Boost) SET(BOOSTDIR $ENV{BOOST_ROOT_DIR}) -INCLUDE_DIRECTORIES(${BOOSTDIR}/include/boost-1_52) +IF(WIN32) + INCLUDE_DIRECTORIES(${BOOSTDIR}/include/boost-1_52) +ELSE(WIN32) + INCLUDE_DIRECTORIES(${BOOSTDIR}/include) +ENDIF() + + LINK_DIRECTORIES (${BOOSTDIR}/lib) #SET(BOOST_LIBRARIES ${BOOSTDIR}/lib/lib.lib)