Skip to content
Snippets Groups Projects
Commit 9982d756 authored by Kenneth Guldbrandt Lausdahl's avatar Kenneth Guldbrandt Lausdahl
Browse files

adding library for dl on linux

parent 4e52e931
No related branches found
No related tags found
No related merge requests found
......@@ -62,3 +62,7 @@ target_link_libraries (${PROJECT_NAME} minizip)
target_include_directories(${PROJECT_NAME} PUBLIC include/fmi/include src/)
set_target_properties(${PROJECT_NAME} PROPERTIES POSITION_INDEPENDENT_CODE ON)
if(UNIX AND NOT APPLE)
# for Linux, BSD, Solaris, Minix
target_link_libraries (${PROJECT_NAME} dl)
endif()
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