# - Try to find BOOSTNUMERICBINDINGS# Once done, this will define## BOOSTNUMERICBINDINGS_FOUND - system has scicoslab # BOOSTNUMERICBINDINGS_INCLUDE_DIRS - the scicoslab include directoriesinclude(LibFindMacros)include(MacroCommonPaths)MacroCommonPaths(BOOSTNUMERICBINDINGS)# Include dirfind_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)macro(build_boostnumericbindings TAG EP_BASE_DIR EP_INSTALL_PREFIX)if( NOT BOOSTNUMERICBINDINGS)ExternalProject_Add(boost-numeric-bindings GIT_REPOSITORY "http://git.tiker.net/trees/boost-numeric-bindings.git" GIT_TAG ${BOOSTNUMERICBINDINGS_TAG} CONFIGURE_COMMAND "" BUILD_COMMAND "" INSTALL_COMMAND "" BUILD_IN_SOURCE 1)set(BOOSTNUMERICBINDINGS_FOUND TRUE)set(BOOSTNUMERICBINDINGS_INCLUDE_DIRS ${EP_BASE_DIR}/Source/boost-numeric-bindings)endif()endmacro()