diff --git a/CMakeLists.txt b/CMakeLists.txt index 69f895435af5c0210368e2845991858e74b258f3..e5cdbfc5c07d6dbe872c7317624527d79fa8391a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -86,10 +86,10 @@ SET (${PROJECT_NAME}_HEADERS include/hpp/manipulation/path-optimization/config-optimization.hh ) -# Add dependency toward hpp-model library in pkg-config file. -PKG_CONFIG_APPEND_LIBS("hpp-manipulation") - ADD_SUBDIRECTORY(src) ADD_SUBDIRECTORY(tests) +# Add dependency toward hpp-manipulation library in pkg-config file. +PKG_CONFIG_APPEND_LIBS("hpp-manipulation") + SETUP_PROJECT_FINALIZE()