if (NOT OOPS_CONFIG_CMAKE_LOADED) include (${INVRS_SOURCE_DIR}/cmake/findODE.cmake) include_directories (include) include_directories (${ODE_INCLUDE_DIR}) if (CMAKE_MAJOR_VERSION EQUAL 2 AND CMAKE_MINOR_VERSION EQUAL 6) cmake_policy(SET CMP0005 OLD) endif (CMAKE_MAJOR_VERSION EQUAL 2 AND CMAKE_MINOR_VERSION EQUAL 6) set ( ODEVERSION_GTE_05 TRUE ) set ( ODEVERSION_GTE_06 TRUE ) set ( ODEVERSION_GTE_07 TRUE ) set ( ODEVERSION_GTE_08 TRUE ) if ( ODEVERSION_GTE_05 ) add_definitions ( -DODEVERSION_GTE_05 ) endif ( ODEVERSION_GTE_05 ) if ( ODEVERSION_GTE_06 ) add_definitions ( -DODEVERSION_GTE_06 ) endif ( ODEVERSION_GTE_06 ) if ( ODEVERSION_GTE_07 ) add_definitions ( -DODEVERSION_GTE_07 ) endif ( ODEVERSION_GTE_07 ) if ( ODEVERSION_GTE_08 ) add_definitions ( -DODEVERSION_GTE_08 ) endif ( ODEVERSION_GTE_08 ) add_definitions (-DODESOURCEPATH_JOINT_H='\"${ODE_SOURCE_DIR}/ode/src/joint.h\"') set (OOPS_CONFIG_CMAKE_LOADED ON) endif (NOT OOPS_CONFIG_CMAKE_LOADED)