Commit 89c87a0c authored by Francois Keith's avatar Francois Keith
Browse files

Correct the link with boost

parent 22d360ca
......@@ -41,7 +41,7 @@ PKG_CONFIG_APPEND_LIBS("sot-core")
# Search for dependencies.
# Boost
SET(BOOST_COMPONENTS thread filesystem program_options unit_test_framework)
SET(BOOST_COMPONENTS thread filesystem program_options unit_test_framework system)
SEARCH_FOR_BOOST()
ADD_REQUIRED_DEPENDENCY("jrl-mal >= 1.8.0")
......
......@@ -142,7 +142,7 @@ FOREACH(test ${tests})
# Link against Boost.
IF (APPLE)
TARGET_LINK_LIBRARIES(${EXECUTABLE_NAME} ${Boost_LIBRARIES} boost_system)
TARGET_LINK_LIBRARIES(${EXECUTABLE_NAME} ${Boost_LIBRARIES} ${Boost_SYSTEM_LIBRARY})
ENDIF (APPLE)
ADD_TEST(${test} ${EXECUTABLE_NAME})
......
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