Skip to content

Commit

Permalink
CMakeLists.txt: reorganize flags
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Chrétien committed Jan 7, 2016
1 parent b2212f8 commit 03e1a25
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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.
Expand Down

0 comments on commit 03e1a25

Please sign in to comment.