From 03e1a25b917d6af6edda27464e654a0824da1e89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Chr=C3=A9tien?= Date: Thu, 7 Jan 2016 23:15:11 +0900 Subject: [PATCH] CMakeLists.txt: reorganize flags --- tests/CMakeLists.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index f3ae50b..00b7fc4 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -68,11 +68,10 @@ MACRO(ROBOPTIM_TRAJECTORY_TEST NAME) ADD_TEST(${NAME} ${RUNTIME_OUTPUT_DIRECTORY}/${NAME}) TARGET_LINK_LIBRARIES(${NAME} roboptim-trajectory) + PKG_CONFIG_USE_DEPENDENCY(${NAME} roboptim-core) # Link against Boost. TARGET_LINK_LIBRARIES(${NAME} ${Boost_LIBRARIES}) - - PKG_CONFIG_USE_DEPENDENCY(${NAME} roboptim-core) ENDMACRO(ROBOPTIM_TRAJECTORY_TEST) # ROBOPTIM_TRAJECTORY_ANTHROPOMORPHIC_TEST(NAME) @@ -93,11 +92,10 @@ MACRO(ROBOPTIM_TRAJECTORY_TEST NAME) ADD_TEST(${NAME} ${RUNTIME_OUTPUT_DIRECTORY}/${NAME}) TARGET_LINK_LIBRARIES(${NAME} roboptim-trajectory) + PKG_CONFIG_USE_DEPENDENCY(${NAME} roboptim-core) # Link against Boost. TARGET_LINK_LIBRARIES(${NAME} ${Boost_LIBRARIES}) - - PKG_CONFIG_USE_DEPENDENCY(${NAME} roboptim-core) ENDMACRO(ROBOPTIM_TRAJECTORY_TEST) # Tools.