Commit 887b4d1d authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

[CMake] talos_data is required for tests

fix 4aac9726
parent 252e120c
......@@ -76,7 +76,9 @@ ADD_REQUIRED_DEPENDENCY("pinocchio >= 2.2.1")
ADD_REQUIRED_DEPENDENCY("parametric-curves")
#ADD_REQUIRED_DEPENDENCY("eigen-quadprog")
ADD_REQUIRED_DEPENDENCY("eiquadprog")
ADD_OPTIONAL_DEPENDENCY("talos_data")
IF(BUILD_TEST)
ADD_REQUIRED_DEPENDENCY("talos_data")
ENDIF(BUILD_TEST)
SET(SOTTALOSBALANCE_LIB_NAME ${PROJECT_NAME})
SET(LIBRARY_NAME ${SOTTALOSBALANCE_LIB_NAME})
......@@ -191,4 +193,6 @@ IF(BUILD_ROS_PACKAGES AND NOT INSTALL_PYTHON_INTERFACE_ONLY)
ADD_SUBDIRECTORY(ros)
ENDIF(BUILD_ROS_PACKAGES AND NOT INSTALL_PYTHON_INTERFACE_ONLY)
ADD_SUBDIRECTORY(unittest)
IF(BUILD_TEST)
ADD_SUBDIRECTORY(unittest)
ENDIF(BUILD_TEST)
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