Skip to content
Snippets Groups Projects
Commit 084609f7 authored by Florent Lamiraux's avatar Florent Lamiraux
Browse files

Do not hardcode dl, use ${CMAKE_DL_LIBS}.

parent 7d935ba2
Branches
Tags
No related merge requests found
......@@ -53,7 +53,7 @@ SET_TARGET_PROPERTIES(${LIBRARY_NAME} PROPERTIES SOVERSION ${PROJECT_VERSION})
PKG_CONFIG_USE_DEPENDENCY(${LIBRARY_NAME} jrl-mal)
IF (UNIX)
TARGET_LINK_LIBRARIES(${LIBRARY_NAME} dl pthread)
TARGET_LINK_LIBRARIES(${LIBRARY_NAME} ${CMAKE_DL_LIBS} pthread)
ENDIF (UNIX)
TARGET_LINK_LIBRARIES(${LIBRARY_NAME} ${Boost_LIBRARIES})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment