MESSAGE(STATUS "Since urdfdom >= 1.0.0, the default C++ standard is C++11. The project is then compiled with C++11 standard.")
ENDIF(${URDFDOM_VERSION} VERSION_GREATER "0.4.2")
ENDIF(${urdfdom_VERSION} VERSION_GREATER "0.4.2")
ENDIF(BUILD_WITH_URDF_SUPPORT)
IF(BUILD_WITH_AUTODIFF_SUPPORT)
# Check first CppADCodeGen
IF(BUILD_WITH_CODEGEN_SUPPORT)
ADD_REQUIRED_DEPENDENCY("cppadcg >= 2.4.1")# CppADCodeGen 2.4.1 is the first version to check the minimal version of CppAD
ADD_PROJECT_DEPENDENCY(cppadcg 2.4.1 REQUIRED PKG_CONFIG_REQUIRES "cppadcg >= 2.4.1")# CppADCodeGen 2.4.1 is the first version to check the minimal version of CppAD