summaryrefslogtreecommitdiff
path: root/math/dune-istl/files/patch-cmake_modules_FindARPACKPP.cmake
blob: 1cde6eeb66bb766658aebc9cbdb51587588198b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
- math/arpack++ installs headers into include/ARPACK++, not include/arpack++

--- cmake/modules/FindARPACKPP.cmake.orig	2021-01-16 23:52:06 UTC
+++ cmake/modules/FindARPACKPP.cmake
@@ -32,14 +32,14 @@ find_package(ARPACK)
 find_path(ARPACKPP_INCLUDE_DIR
   NAMES "arssym.h"
   PATHS ${ARPACKPP_PREFIX} ${ARPACKPP_ROOT}
-  PATH_SUFFIXES "include" "include/arpack++"
+  PATH_SUFFIXES "include" "include/arpackpp"
   NO_DEFAULT_PATH
 )
 
 # look for header files, including default paths
 find_path(ARPACKPP_INCLUDE_DIR
   NAMES "arssym.h"
-  PATH_SUFFIXES "include" "include/arpack++"
+  PATH_SUFFIXES "include" "include/arpackpp"
 )
 
 # The arpack++ package in Debian also includes a shared library that we have