Unverified Commit 5f627564 authored by Carlos Mastalli's avatar Carlos Mastalli Committed by GitHub
Browse files

Merge pull request #1037 from wxmerkt/topic/make-example-robot-data-optional

Make example-robot-data an optional dependency
parents 1d55b833 130e6109
Pipeline #17385 passed with stage
in 31 minutes and 24 seconds
......@@ -66,7 +66,11 @@ SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/find-external/CppAD/" ${CMAKE_M
# Add the different required and optional dependencies
ADD_PROJECT_DEPENDENCY(pinocchio 2.6.3 REQUIRED PKG_CONFIG_REQUIRES "pinocchio >= 2.6.3")
ADD_PROJECT_DEPENDENCY(example-robot-data 3.7.0 REQUIRED PKG_CONFIG_REQUIRES "example-robot-data >= 3.7.0")
IF(BUILD_EXAMPLES OR BUILD_TESTING OR BUILD_BENCHMARK)
ADD_PROJECT_DEPENDENCY(example-robot-data 3.7.0 REQUIRED PKG_CONFIG_REQUIRES "example-robot-data >= 3.7.0")
ELSE()
ADD_OPTIONAL_DEPENDENCY(example-robot-data)
ENDIF()
ADD_OPTIONAL_DEPENDENCY("scipy")
OPTION(BUILD_WITH_CODEGEN_SUPPORT "Build the library with the Code Generation support (required CppADCodeGen)" OFF)
......
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