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)
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)