Commit 2a3fdca2 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

[CMake] sync submodule and its use

parent b312d064
......@@ -31,9 +31,9 @@ PROJECT(${PROJECT_NAME} ${PROJECT_ARGS})
LIST(APPEND PKG_CONFIG_ADDITIONAL_VARIABLES cmake_plugin)
IF(BUILD_TESTING)
SET(BOOST_COMPONENTS "unit_test_framework")
FIND_PACKAGE(Boost REQUIRED COMPONENTS unit_test_framework)
FIND_PACKAGE(example-robot-data REQUIRED)
ENDIF(BUILD_TESTING)
SEARCH_FOR_BOOST()
ADD_PROJECT_DEPENDENCY("hpp-walkgen" REQUIRED)
......@@ -61,7 +61,6 @@ INSTALL(TARGETS ${PROJECT_NAME} EXPORT ${TARGETS_EXPORT_NAME} DESTINATION lib)
ADD_SUBDIRECTORY(plugins)
IF(BUILD_TESTING)
ADD_REQUIRED_DEPENDENCY("romeo_description")
ADD_SUBDIRECTORY(tests)
ENDIF(BUILD_TESTING)
......
Subproject commit 72cf8cdefcf8cde818745ad7998122bde0b54734
Subproject commit 32015cb28d977b592227675665d17d11531ef418
......@@ -19,4 +19,4 @@
ADD_DEFINITIONS(-DBOOST_TEST_DYN_LINK -DBOOST_TEST_MAIN)
ADD_UNIT_TEST(romeo-small romeo-small.cc)
TARGET_LINK_LIBRARIES(romeo-small ${Boost_LIBRARIES} ${PROJECT_NAME})
TARGET_LINK_LIBRARIES(romeo-small Boost::unit_test_framework ${PROJECT_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