From 1fa413e163bb2e0e1f9201817cd6d18a23b8870a Mon Sep 17 00:00:00 2001
From: Timo Heister
Next, we find our deal.II installation with the help of the
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8)
-FIND_PACKAGE(deal.II 8.3 REQUIRED
+FIND_PACKAGE(deal.II 8.5.0 REQUIRED
HINTS ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
)
DEAL_II_INITIALIZE_CACHED_VARIABLES()
@@ -87,7 +87,7 @@ DEAL_II_SETUP_TARGET(mycode)
FIND_PACKAGE
command. In this case requiring at least
- version 8.3. The HINTS
are a list of directories where the
+ version 8.5.0. The HINTS
are a list of directories where the
install directory of deal.II is likely to be found. First, the location
possibly defined in the CMake variable DEAL_II_DIR
is
considered. After that, we check whether we are in a subdirectory (first
@@ -273,7 +273,7 @@ In this case the top level CMakeLists.txt
file may be:
# top level CMakeLists.txt
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8)
-FIND_PACKAGE(deal.II 8.0 REQUIRED)
+FIND_PACKAGE(deal.II 8.5.0 REQUIRED)
DEAL_II_INITIALIZE_CACHED_VARIABLES()
PROJECT(myproject)
@@ -500,7 +500,7 @@ The
DEAL_II_INITIALIZE_CACHED_VARIABLES
macro is responsible
for setting up cached variables and has to invoked before the
PROJECT
call:
-FIND_PACKAGE(deal.II 8.0 REQUIRED)
+FIND_PACKAGE(deal.II 8.5.0 REQUIRED)
DEAL_II_INITIALIZE_CACHED_VARIABLES()
@@ -644,7 +644,7 @@ INSTALL(DIRECTORY run DESTINATION share/mycode/run)
-FIND_PACKAGE(deal.II 8.0 REQUIRED +FIND_PACKAGE(deal.II 8.5.0 REQUIRED HINTS ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR} # You can specify additional hints for search paths here, e.g. diff --git a/doc/users/testsuite.html b/doc/users/testsuite.html index 544195ebed..2b0d3edec2 100644 --- a/doc/users/testsuite.html +++ b/doc/users/testsuite.html @@ -104,7 +104,7 @@ SET(TARGET step-1) SET(TARGET_SRC step-1.cc) CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8) -FIND_PACKAGE(deal.II 8.3 REQUIRED +FIND_PACKAGE(deal.II 8.5.0 REQUIRED HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR} ) @@ -192,7 +192,7 @@ tests/support/my_test_2.output# top-level CMakelists.txt CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8) -FIND_PACKAGE(deal.II 8.3 REQUIRED +FIND_PACKAGE(deal.II 8.5.0 REQUIRED HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR} ) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 784a73c2a1..60a835dbe4 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -65,7 +65,7 @@ ELSE() ) ENDIF() - FIND_PACKAGE(deal.II 8.3 REQUIRED HINTS ${DEAL_II_DIR} $ENV{DEAL_II_DIR}) + FIND_PACKAGE(deal.II 8.5.0 REQUIRED HINTS ${DEAL_II_DIR} $ENV{DEAL_II_DIR}) PROJECT(testsuite NONE) SET(_options "-DDEAL_II_DIR=${DEAL_II_PATH}") ENDIF() diff --git a/tests/setup_testsubproject.cmake b/tests/setup_testsubproject.cmake index 02a5e10d5a..ad9ff68a7f 100644 --- a/tests/setup_testsubproject.cmake +++ b/tests/setup_testsubproject.cmake @@ -1,4 +1,4 @@ -FIND_PACKAGE(deal.II 8.0 REQUIRED HINTS ${DEAL_II_DIR}) +FIND_PACKAGE(deal.II 8.5.0 REQUIRED HINTS ${DEAL_II_DIR}) SET(CMAKE_BUILD_TYPE DebugRelease CACHE STRING "" FORCE) DEAL_II_INITIALIZE_CACHED_VARIABLES() -- 2.39.5