Hi Xavier,
i think the following command will do:
set(DEAL_II_MIN_VERSION "9.5.0")
set(DEAL_II_DIR "~/.local/lib/dealii")
find_package(deal.II ${DEAL_II_MIN_VERSION} REQUIRED
HINTS ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR})
IF(NOT ${deal.II_FOUND})
MESSAGE(FATAL_ERROR
"*** Could not locate a (sufficiently recent) version of deal.II. ***\n"
"You may want to either pass a flag -DDEAL_II_DIR=/path/to/deal.II to cmake"
" or set an environment variable \"DEAL_II_DIR\".")
ENDIF()
Regards,
Nils
--
Nils Schween
PhD Student
Phone:
+49 6221 516 557
Mail:
nils.s...@mpi-hd.mpg.de
PGP-Key: 4DD3DCC0532EE96DB0C1F8B5368DBFA14CB81849
Max Planck Institute for Nuclear Physics
Astrophysical Plasma Theory (APT)
Saupfercheckweg 1, D-69117 Heidelberg
https://www.mpi-hd.mpg.de/mpi/en/research/scientific-divisions-and-groups/independent-research-groups/apt