Aufgrund einer Wartung wird GitLab am 26.10. zwischen 8:00 und 9:00 Uhr kurzzeitig nicht zur Verfügung stehen. / Due to maintenance, GitLab will be temporarily unavailable on 26.10. between 8:00 and 9:00 am.

FindArmadillo.cmake 1.02 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Automatically generated file
#
# - Try to find Armadillo
# Once done this will define
#  Armadillo_FOUND - System has Armadillo
#  Armadillo_INCLUDE_DIRS - The Armadillo include directories
#  Armadillo_LIBRARY_DIRS - The library directories needed to use Armadillo
#  Armadillo_LIBRARIES    - The libraries needed to use Armadillo

find_path(Armadillo_INCLUDE_DIR
        NAMES armadillo
        PATH_SUFFIXES "include"
        PATHS
        HINTS $ENV{Armadillo_HOME}
        )
find_library(Armadillo_LIBRARY
        NAMES armadillo
        PATH_SUFFIXES "lib" "lib64" "lib/x86_64-linux-gnu" "examples/lib_win64" "build" "Release"
        PATHS
        HINTS $ENV{Armadillo_HOME}
        )

include(FindPackageHandleStandardArgs)
# if all listed variables are TRUE
find_package_handle_standard_args(
  Armadillo
  DEFAULT_MSG
  Armadillo_INCLUDE_DIR
  Armadillo_LIBRARY
  )

mark_as_advanced(
  Armadillo_INCLUDE_DIR
  Armadillo_LIBRARY
  )

set(Armadillo_INCLUDE_DIRS ${Armadillo_INCLUDE_DIR})
set(Armadillo_LIBRARIES ${Armadillo_LIBRARY})