Unverified Commit 1d94d52c authored by Guilhem Saurel's avatar Guilhem Saurel Committed by GitHub
Browse files

Merge pull request #19 from nim65s/devel

[CMake] fix link to parameter-server
parents 50183353 07012b30
Pipeline #12713 passed with stage
in 49 minutes and 5 seconds
......@@ -7,7 +7,8 @@ ADD_DEFINITIONS(-DBOOST_TEST_DYN_LINK -DBOOST_TEST_MAIN)
SET(test_distribute_deps
distribute-wrench
sot-core::sot-core parameter-server
sot-core::sot-core
sot-core::parameter-server
)
#test paths and names (without .cpp extension)
......@@ -16,15 +17,8 @@ SET(tests
test_distribute
)
IF(UNIX)
LINK_DIRECTORIES(${DYNAMIC_GRAPH_PLUGINDIR})
ENDIF(UNIX)
ADD_DEFINITIONS(-DDEBUG=2)
# find -lparameter-server. TODO: that's ugly, properly export a component for each plugin instead.
LINK_DIRECTORIES("${sot-core_DIR}/../../../${DYNAMIC_GRAPH_PLUGINDIR}")
FOREACH(test ${tests})
ADD_UNIT_TEST(${test} ${test}.cpp)
TARGET_LINK_LIBRARIES(${test} PRIVATE ${PROJECT_NAME} ${${test}_deps} Boost::unit_test_framework)
......
Markdown is supported
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