File: ALGLIBConfig.cmake

package info (click to toggle)
alglib 3.10.0-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 19,172 kB
  • sloc: cpp: 232,312; sh: 453; makefile: 8
file content (16 lines) | stat: -rw-r--r-- 495 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# - Try to find alglib
# Once done this will define
#  ALGLIB_INCLUDE_DIRS - The alglib include directory
#  ALGLIB_LIB - The libraries needed to use alglib
#  ALGLIB_FOUND -  True if ALGLIB found.

set(ALGLIB_FOUND TRUE)

find_path (ALGLIB_INCLUDE_DIRS 
  ap.h
  PATHS ${CMAKE_INSTALL_PREFIX}/include
  PATH_SUFFIXES libalglib)

find_library (ALGLIB_LIB NAMES alglib)
include (FindPackageHandleStandardArgs)
find_package_handle_standard_args (ALGLIB DEFAULT_MSG ALGLIB_LIB ALGLIB_INCLUDE_DIRS)