Add support for newer boost

This commit is contained in:
LAVAUX Guilhem 2020-04-14 17:46:14 +02:00
parent e4924917b9
commit 3773c1ab43
2 changed files with 2 additions and 2 deletions

View file

@ -96,7 +96,7 @@ if (BUILD_SHARED_LIBS)
endif(BUILD_STATIC_LIBS)
else (BUILD_SHARED_LIBS)
add_library(CosmoTool STATIC ${CosmoTool_SRCS} $<TARGET_OBJECTS:CosmoHDF5>)
target_link_libraries(CosmoTool)
target_link_libraries(CosmoTool ${CosmoTool_LIBS})
set_property(TARGET CosmoTool PROPERTY POSITION_INDEPENDENT_CODE ON)
add_dependencies(CosmoTool ${cosmotool_DEPS})
endif (BUILD_SHARED_LIBS)