source: pacpussensors/trunk/Vislab/lib3dv/eigen/cmake/FindAdolc.cmake@ 141

Last change on this file since 141 was 136, checked in by ldecherf, 8 years ago

Doc

File size: 504 bytes
Line 
1
2if (ADOLC_INCLUDES AND ADOLC_LIBRARIES)
3 set(ADOLC_FIND_QUIETLY TRUE)
4endif (ADOLC_INCLUDES AND ADOLC_LIBRARIES)
5
6find_path(ADOLC_INCLUDES
7 NAMES
8 adolc/adouble.h
9 PATHS
10 $ENV{ADOLCDIR}
11 ${INCLUDE_INSTALL_DIR}
12)
13
14find_library(ADOLC_LIBRARIES adolc PATHS $ENV{ADOLCDIR} ${LIB_INSTALL_DIR})
15
16include(FindPackageHandleStandardArgs)
17find_package_handle_standard_args(ADOLC DEFAULT_MSG
18 ADOLC_INCLUDES ADOLC_LIBRARIES)
19
20mark_as_advanced(ADOLC_INCLUDES ADOLC_LIBRARIES)
Note: See TracBrowser for help on using the repository browser.