ardupilot/cmake/arkcmake/FindBOOSTNUMERICBINDINGS.cmake

22 lines
739 B
CMake

# - Try to find BOOSTNUMERICBINDINGS
# Once done, this will define
#
# BOOSTNUMERICBINDINGS_FOUND - system has scicoslab
# BOOSTNUMERICBINDINGS_INCLUDE_DIRS - the scicoslab include directories
include(LibFindMacros)
include(MacroCommonPaths)
MacroCommonPaths(BOOSTNUMERICBINDINGS)
# Include dir
find_path(BOOSTNUMERICBINDINGS_INCLUDE_DIR
NAMES boost/numeric/bindings/lapack/lapack.h
PATHS ${COMMON_INCLUDE_PATHS_BOOSTNUMERICBINDINGS}
)
# Set the include dir variables and the libraries and let libfind_process do the rest.
# NOTE: Singular variables for this library, plural for libraries this this lib depends on.
set(BOOSTNUMERICBINDINGS_PROCESS_INCLUDES BOOSTNUMERICBINDINGS_INCLUDE_DIR)
libfind_process(BOOSTNUMERICBINDINGS)