]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Boost include path corrected for the linux platform
authorSergey BELASH <belash.sergey@opencascade.com>
Thu, 11 Sep 2014 09:42:31 +0000 (13:42 +0400)
committerSergey BELASH <belash.sergey@opencascade.com>
Thu, 11 Sep 2014 09:42:31 +0000 (13:42 +0400)
CMakeCommon/FindBoost.cmake

index e8d34a11e17aa804c42033f1ce4b5e9ec4c32744..f44122086dbba2915a1bb903e4cd7f07f2a88b6a 100644 (file)
 #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)