Commit c02308e5 authored by Olivier Stasse's avatar Olivier Stasse
Browse files

[cmake] Fix cmakes bugs reported by A. Mallet in robotpkg.

parent 8277fa7f
......@@ -233,10 +233,6 @@ FOREACH(plugin ${plugins})
TARGET_LINK_LIBRARIES(${LIBRARY_NAME} ${CMAKE_DL_LIBS})
ENDIF(UNIX)
IF(UNIX AND NOT APPLE)
TARGET_LINK_LIBRARIES(${LIBRARY_NAME} dl pthread)
ENDIF(UNIX AND NOT APPLE)
PKG_CONFIG_USE_DEPENDENCY(${LIBRARY_NAME} jrl-mal)
PKG_CONFIG_USE_DEPENDENCY(${LIBRARY_NAME} dynamic-graph)
......
......@@ -104,7 +104,7 @@ IF(UNIX)
tools/test_abstract_interface.cpp
)
TARGET_LINK_LIBRARIES(test_abstract_interface
pluginabstract dl ${Boost_LIBRARIES})
pluginabstract ${CMAKE_DL_LIBS} ${Boost_LIBRARIES})
LINK_DIRECTORIES(${SOT_PLUGIN_OUT_DIR} ${FULLPLUGINDIR})
ENDIF(UNIX)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment