Verified Commit 01948d44 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

cmake: fix variable setting for old cmake versions

parent 4cfdfa9e
......@@ -63,9 +63,15 @@ OPTION(BUILD_WITH_CODEGEN_SUPPORT "Build the library with the Code Generation su
OPTION(INITIALIZE_WITH_NAN "Initialize Eigen entries with NaN" OFF)
SET(BUILD_WITH_HPP_FCL_SUPPORT ${BUILD_WITH_COLLISION_SUPPORT})
SET(BUILD_WITH_CPPAD_SUPPORT ${BUILD_WITH_AUTODIFF_SUPPORT})
SET(BUILD_WITH_CPPAD_CODEGEN_SUPPORT ${BUILD_WITH_CODEGEN_SUPPORT})
IF(BUILD_WITH_COLLISION_SUPPORT)
SET(BUILD_WITH_HPP_FCL_SUPPORT TRUE)
ENDIF()
IF(BUILD_WITH_AUTODIFF_SUPPORT)
SET(BUILD_WITH_CPPAD_SUPPORT TRUE)
ENDIF()
IF(BUILD_WITH_CODEGEN_SUPPORT)
SET(BUILD_WITH_CPPAD_CODEGEN_SUPPORT TRUE)
ENDIF()
IF(INITIALIZE_WITH_NAN)
MESSAGE (STATUS "Initialize with NaN all the Eigen entries.")
......
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