Add support for newer boost
This commit is contained in:
parent
e4924917b9
commit
3773c1ab43
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue