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

Add portable way to link to 'dlopen' library

parent b451a2fb
No related branches found
No related tags found
No related merge requests found
Pipeline #1394029 passed
......@@ -6,7 +6,7 @@ file( GLOB HEADERS GeoModelKernel/*.h )
# Create the library.
add_library( GeoModelKernel SHARED ${HEADERS} ${SOURCES} )
target_link_libraries( GeoModelKernel PUBLIC GeoGenericFunctions )
target_link_libraries( GeoModelKernel PUBLIC GeoGenericFunctions ${CMAKE_DL_LIBS} )
target_include_directories( GeoModelKernel SYSTEM PUBLIC ${EIGEN3_INCLUDE_DIR} )
target_include_directories( GeoModelKernel PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment