Adjust linkage

This commit is contained in:
Guilhem Lavaux 2020-04-28 14:12:36 +02:00
parent 8d91ec20fa
commit 74a59cb21b
3 changed files with 6 additions and 6 deletions

View file

@ -50,11 +50,11 @@ if(APPLE)
set(CMAKE_MODULE_LINKER_FLAGS "-undefined dynamic_lookup")
endif()
target_link_libraries(_cosmotool ${CosmoTool_local} ${GSL_LIBRARIES})
target_link_libraries(_cosmo_power ${CosmoTool_local} ${GSL_LIBRARIES})
target_link_libraries(_cosmo_cic ${CosmoTool_local} ${GSL_LIBRARIES})
target_link_libraries(_cosmotool PRIVATE ${CosmoTool_local} ${GSL_LIBRARIES})
target_link_libraries(_cosmo_power PRIVATE ${CosmoTool_local} ${GSL_LIBRARIES})
target_link_libraries(_cosmo_cic PRIVATE ${CosmoTool_local} ${GSL_LIBRARIES})
target_link_libraries(_project )
target_link_libraries(_fast_interp ${CosmoTool_local} )
target_link_libraries(_fast_interp PRIVATE ${CosmoTool_local} )
SET(ct_TARGETS _cosmotool _project _cosmo_power _cosmo_cic _fast_interp )