Verified Commit d3559559 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

cmake: fix var name

parent 822fa051
Pipeline #12246 passed with stage
in 133 minutes and 24 seconds
...@@ -17,7 +17,7 @@ SET(${PROJECT_NAME}_EXAMPLES ...@@ -17,7 +17,7 @@ SET(${PROJECT_NAME}_EXAMPLES
interpolation-SE3 interpolation-SE3
) )
IF(BUILD_WITH_UDRF_SUPPORT) IF(BUILD_WITH_URDF_SUPPORT)
LIST(APPEND ${PROJECT_NAME}_EXAMPLES LIST(APPEND ${PROJECT_NAME}_EXAMPLES
overview-urdf overview-urdf
build-reduced-model build-reduced-model
...@@ -29,7 +29,7 @@ IF(BUILD_WITH_UDRF_SUPPORT) ...@@ -29,7 +29,7 @@ IF(BUILD_WITH_UDRF_SUPPORT)
ENDIF() ENDIF()
IF(BUILD_ADVANCED_TESTING) IF(BUILD_ADVANCED_TESTING)
IF(BUILD_WITH_UDRF_SUPPORT) IF(BUILD_WITH_URDF_SUPPORT)
LIST(APPEND ${PROJECT_NAME}_EXAMPLES LIST(APPEND ${PROJECT_NAME}_EXAMPLES
multiprecision multiprecision
) )
...@@ -37,7 +37,7 @@ IF(BUILD_ADVANCED_TESTING) ...@@ -37,7 +37,7 @@ IF(BUILD_ADVANCED_TESTING)
ENDIF(BUILD_ADVANCED_TESTING) ENDIF(BUILD_ADVANCED_TESTING)
IF(hpp-fcl_FOUND) IF(hpp-fcl_FOUND)
IF(BUILD_WITH_UDRF_SUPPORT) IF(BUILD_WITH_URDF_SUPPORT)
LIST(APPEND ${PROJECT_NAME}_EXAMPLES LIST(APPEND ${PROJECT_NAME}_EXAMPLES
collisions collisions
) )
...@@ -54,9 +54,9 @@ FOREACH(EXAMPLE ${${PROJECT_NAME}_EXAMPLES}) ...@@ -54,9 +54,9 @@ FOREACH(EXAMPLE ${${PROJECT_NAME}_EXAMPLES})
ADD_PINOCCHIO_CPP_EXAMPLE(${EXAMPLE}) ADD_PINOCCHIO_CPP_EXAMPLE(${EXAMPLE})
ENDFOREACH(EXAMPLE ${${PROJECT_NAME}_EXAMPLES}) ENDFOREACH(EXAMPLE ${${PROJECT_NAME}_EXAMPLES})
IF(BUILD_ADVANCED_TESTING AND BUILD_WITH_UDRF_SUPPORT) IF(BUILD_ADVANCED_TESTING AND BUILD_WITH_URDF_SUPPORT)
SET_PROPERTY(TARGET example-cpp-multiprecision PROPERTY CXX_STANDARD 11) SET_PROPERTY(TARGET example-cpp-multiprecision PROPERTY CXX_STANDARD 11)
ENDIF(BUILD_ADVANCED_TESTING AND BUILD_WITH_UDRF_SUPPORT) ENDIF(BUILD_ADVANCED_TESTING AND BUILD_WITH_URDF_SUPPORT)
IF(BUILD_PYTHON_INTERFACE) IF(BUILD_PYTHON_INTERFACE)
SET(${PROJECT_NAME}_PYTHON_EXAMPLES SET(${PROJECT_NAME}_PYTHON_EXAMPLES
...@@ -85,11 +85,11 @@ IF(BUILD_PYTHON_INTERFACE) ...@@ -85,11 +85,11 @@ IF(BUILD_PYTHON_INTERFACE)
display-shapes display-shapes
simulation-inverted-pendulum simulation-inverted-pendulum
) )
IF(BUILD_WITH_UDRF_SUPPORT) IF(BUILD_WITH_URDF_SUPPORT)
LIST(APPEND ${PROJECT_NAME}_PYTHON_EXAMPLES LIST(APPEND ${PROJECT_NAME}_PYTHON_EXAMPLES
collisions collisions
) )
ENDIF(BUILD_WITH_UDRF_SUPPORT) ENDIF(BUILD_WITH_URDF_SUPPORT)
ENDIF(hpp-fcl_FOUND) ENDIF(hpp-fcl_FOUND)
FOREACH(EXAMPLE ${${PROJECT_NAME}_PYTHON_EXAMPLES}) FOREACH(EXAMPLE ${${PROJECT_NAME}_PYTHON_EXAMPLES})
......
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