Add some support for boost >= 1.70

This commit is contained in:
LAVAUX Guilhem 2020-04-10 18:02:18 +02:00
parent 7c68df0c97
commit e4924917b9
2 changed files with 9 additions and 6 deletions

View file

@ -72,7 +72,7 @@ SET(CosmoTool_SRCS ${CosmoTool_SRCS}
include_directories(${GSL_INCLUDE_PATH} ${CMAKE_BINARY_DIR}/src)
set(CosmoTool_LIBS ${GSL_LIBRARIES})
set(CosmoTool_LIBS ${GSL_LIBRARIES} ${Boost_TARGET})
if(YORICK_SUPPORT)
set(CosmoTool_LIBS ${CosmoTool_LIBS} ${NETCDFCPP_LIBRARY} ${NETCDF_LIBRARY} ${GSL_LIBRARIES})
include_directories(${NETCDF_INCLUDE_PATH} ${NETCDFCPP_INCLUDE_PATH})