Skip to content
Snippets Groups Projects
Commit 07475588 authored by Riccardo Maria Bianchi's avatar Riccardo Maria Bianchi :sunny:
Browse files

Add dependencies to CMake file

parent fa0c093e
No related branches found
No related tags found
1 merge request!219Improving the GeoModelIO 'saveToDB' helper function
Pipeline #6480481 failed
......@@ -11,7 +11,9 @@ file( GLOB HEADERS GeoModelIOHelpers/*.h )
# Set up the library.
add_library( GeoModelIOHelpers SHARED ${HEADERS} ${SOURCES} )
target_link_libraries( GeoModelIOHelpers PUBLIC
GeoModelKernel GeoModelDBManager TFPersistification )
GeoModelRead GeoModelWrite )
# We link those to carry on the needed libs when including GeoModelIOHelpers,
# even if the latter is headers only
target_include_directories( GeoModelIOHelpers PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
$<INSTALL_INTERFACE:include> )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment