2 # Once done, it will set ODE_FOUND to true, ODE_LIBRARY and ODE_INCLUDE_DIR.
6 find_path( ODE_INCLUDE_DIR
15 find_library( ODE_LIBRARY
25 if( ODE_INCLUDE_DIR AND ODE_LIBRARY )
26 set( ODE_FOUND "YES" )
27 endif( ODE_INCLUDE_DIR AND ODE_LIBRARY )
30 if( NOT ODE_FIND_QUIETLY )
31 message( STATUS "Found ODE: ${ODE_LIBRARY}" )
32 endif( NOT ODE_FIND_QUIETLY )
34 if( ODE_FIND_REQUIRED )
35 message( FATAL_ERROR "Could not find ODE" )
36 endif( ODE_FIND_REQUIRED )