From a5b8015061a6943fea3d5e254b04c890bf3e4ed5 Mon Sep 17 00:00:00 2001 From: Sergey BELASH Date: Thu, 11 Sep 2014 13:42:31 +0400 Subject: [PATCH] Boost include path corrected for the linux platform --- CMakeCommon/FindBoost.cmake | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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) -- 2.39.2