LP-311 Remove basic/advanced stabilization tab auto-switch (autotune/txpid lock issues)
[librepilot.git] / ground / gcs / src / libs / eigen / cmake / FindAdolc.cmake
blob1a7ff3628a1aa6bd0a033b75edf23bbdc587d899
2 if (ADOLC_INCLUDES AND ADOLC_LIBRARIES)
3   set(ADOLC_FIND_QUIETLY TRUE)
4 endif (ADOLC_INCLUDES AND ADOLC_LIBRARIES)
6 find_path(ADOLC_INCLUDES
7   NAMES
8   adolc/adouble.h
9   PATHS
10   $ENV{ADOLCDIR}
11   ${INCLUDE_INSTALL_DIR}
14 find_library(ADOLC_LIBRARIES adolc PATHS $ENV{ADOLCDIR} ${LIB_INSTALL_DIR})
16 include(FindPackageHandleStandardArgs)
17 find_package_handle_standard_args(ADOLC DEFAULT_MSG
18                                   ADOLC_INCLUDES ADOLC_LIBRARIES)
20 mark_as_advanced(ADOLC_INCLUDES ADOLC_LIBRARIES)