Implemented cylinder shape, also fixed the coordinate system (again). I fucking hate...
[fail.git] / FindODE.cmake
blob8de95049221c054b2a9b0039b716296b92d05f77
1 # Look for ODE.
2 # Once done, it will set ODE_FOUND to true, ODE_LIBRARY and ODE_INCLUDE_DIR.
4 set( ODE_FOUND "NO" )
6 find_path( ODE_INCLUDE_DIR
7         ode/ode.h
9         /usr/include
10         /usr/local/include
11         /opt/local/include
12         /sw/include
15 find_library( ODE_LIBRARY
17         ode
18         
19         /usr/lib
20         /usr/local/lib
21         /opt/local/lib
22         /sw/lib
25 if( ODE_INCLUDE_DIR AND ODE_LIBRARY )
26         set( ODE_FOUND "YES" )
27 endif( ODE_INCLUDE_DIR AND ODE_LIBRARY )
29 if( ODE_FOUND )
30         if( NOT ODE_FIND_QUIETLY )
31                 message( STATUS "Found ODE: ${ODE_LIBRARY}" )
32         endif( NOT ODE_FIND_QUIETLY )
33 else( ODE_FOUND )
34         if( ODE_FIND_REQUIRED )
35                 message( FATAL_ERROR "Could not find ODE" )
36         endif( ODE_FIND_REQUIRED )
37 endif( ODE_FOUND )