mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Search common suffixes for include files
This allows us to set e.g. -DEIGEN3_ROOT=/usr/local, and have the files actually be located in /usr/local/include/eigen3
This commit is contained in:
@@ -68,6 +68,7 @@ if (NOT EIGEN3_INCLUDE_DIR)
|
||||
find_path (EIGEN3_INCLUDE_DIR
|
||||
NAMES signature_of_eigen3_matrix_library
|
||||
PATHS ${EIGEN3_ROOT}
|
||||
PATH_SUFFIXES eigen3 include/eigen3 eigen include/eigen
|
||||
NO_DEFAULT_PATH
|
||||
)
|
||||
else (EIGEN3_ROOT)
|
||||
|
||||
Reference in New Issue
Block a user