4 # ODE_FOUND, if false, do not try to link to ode
5 # ODE_INCLUDE_DIR, where to find the headers
7 # $ODE_DIR is an environment variable that would
8 # correspond to the ./configure --prefix=$ODE_DIR
10 # Created by David Guthrie. Based on code by Robert Osfield
11 # Modified by Matt Thompson
13 FIND_PATH(ODE_INCLUDE_DIR ode/ode.h
23 /opt/local/include # DarwinPorts
24 /opt/csw/include # Blastwave
26 [HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Session\ Manager\\Environment;OSG_ROOT]/include
30 FIND_PATH(ODE_VERSION_LT_0_10 ode/config.h
34 MACRO(FIND_ODE_LIBRARY MYLIBRARY MYLIBRARYNAME)
36 FIND_LIBRARY(${MYLIBRARY}
37 NAMES ${MYLIBRARYNAME}
50 [HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Session\ Manager\\Environment;OSG_ROOT]/lib
54 ENDMACRO(FIND_ODE_LIBRARY MYLIBRARY MYLIBRARYNAME)
56 FIND_ODE_LIBRARY(ODE_LIBRARY ode)
57 FIND_ODE_LIBRARY(ODE_LIBRARY_DEBUG oded)
60 IF(ODE_LIBRARY AND ODE_INCLUDE_DIR)
62 ENDIF(ODE_LIBRARY AND ODE_INCLUDE_DIR)