Skip to content

Commit

Permalink
Link test project to libdl
Browse files Browse the repository at this point in the history
  • Loading branch information
kyllingstad committed Nov 8, 2023
1 parent 087c472 commit 6057d49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_package/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ project(PackageTest CXX)
find_package(fmilibrary CONFIG REQUIRED)

add_executable(test test.cpp)
target_link_libraries(test fmilibrary::fmilibrary)
target_link_libraries(test fmilibrary::fmilibrary ${CMAKE_DL_LIBS})

0 comments on commit 6057d49

Please sign in to comment.