Skip to content

Commit

Permalink
doc: Update new documentation to reflect new CMake minimum version
Browse files Browse the repository at this point in the history
  • Loading branch information
tamiko committed Feb 5, 2022
1 parent f3d1657 commit 74d4e9c
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion doc/developers/testsuite.html
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ <h2>Adding new categories</h2>
a <code>CMakeLists.txt</code> file into it containing
</p>
<pre>
CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
CMAKE_MINIMUM_REQUIRED(VERSION 3.3.0)
INCLUDE(../setup_testsubproject.cmake)
PROJECT(testsuite CXX)
INCLUDE(${DEAL_II_TARGET_CONFIG})
Expand Down
2 changes: 1 addition & 1 deletion doc/readme.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ <h3>Additional software requirements</h3>
</p>
<ul>
<li>
<a href="http://www.cmake.org/" target="_top">CMake</a> version 3.1.0 or later
<a href="http://www.cmake.org/" target="_top">CMake</a> version 3.3.0 or later
</li>

<li>
Expand Down
2 changes: 1 addition & 1 deletion doc/users/CMakeLists.txt.sample
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
CMAKE_MINIMUM_REQUIRED(VERSION 3.3.0)

FIND_PACKAGE(deal.II 10.0.0 REQUIRED
HINTS ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
Expand Down
2 changes: 1 addition & 1 deletion doc/users/CMakeLists.txt.sample2
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ SET(TARGET_SRC
${TARGET}.cc
)

CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
CMAKE_MINIMUM_REQUIRED(VERSION 3.3.0)
DEAL_II_INITIALIZE_CACHED_VARIABLES()
PROJECT(${TARGET} CXX)
DEAL_II_INVOKE_AUTOPILOT()
2 changes: 1 addition & 1 deletion doc/users/CMakeLists.txt.sample3
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ SET(TARGET_RUN
# a custom command line, e.g. mpirun -np 2 ${TARGET}
)

CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
CMAKE_MINIMUM_REQUIRED(VERSION 3.3.0)
DEAL_II_INITIALIZE_CACHED_VARIABLES()
PROJECT(${TARGET} CXX)
DEAL_II_INVOKE_AUTOPILOT()
6 changes: 3 additions & 3 deletions doc/users/cmake_user.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ <h2>Simple CMakeLists.txt</h2>
version):

<pre class="cmake">
CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
CMAKE_MINIMUM_REQUIRED(VERSION 3.3.0)

FIND_PACKAGE(deal.II 10.0.0 REQUIRED
HINTS ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
Expand Down Expand Up @@ -271,7 +271,7 @@ <h3>Source directory layout</h3>
In this case the top level <code>CMakeLists.txt</code> file may be:
<pre class="cmake">
# top level CMakeLists.txt
CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
CMAKE_MINIMUM_REQUIRED(VERSION 3.3.0)
FIND_PACKAGE(deal.II 10.0.0 REQUIRED)

DEAL_II_INITIALIZE_CACHED_VARIABLES()
Expand Down Expand Up @@ -663,7 +663,7 @@ <h2>Autopilot style CMakeLists.txt</h2>
# You can specify additional files here!
)

CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
CMAKE_MINIMUM_REQUIRED(VERSION 3.3.0)
DEAL_II_INITIALIZE_CACHED_VARIABLES()
PROJECT(${TARGET} CXX)
DEAL_II_INVOKE_AUTOPILOT()
Expand Down
4 changes: 2 additions & 2 deletions doc/users/testsuite.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ <h3>Simple configuration</h3>
SET(TARGET step-1)
SET(TARGET_SRC step-1.cc)

CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
CMAKE_MINIMUM_REQUIRED(VERSION 3.3.0)
FIND_PACKAGE(deal.II 10.0.0 REQUIRED
HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
)
Expand Down Expand Up @@ -215,7 +215,7 @@ <h3>Advanced configuration</h3>
<pre class="cmake">
# top-level CMakelists.txt

CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0)
CMAKE_MINIMUM_REQUIRED(VERSION 3.3.0)
FIND_PACKAGE(deal.II 10.0.0 REQUIRED
HINTS ${deal.II_DIR} ${DEAL_II_DIR} ../ ../../ $ENV{DEAL_II_DIR}
)
Expand Down

0 comments on commit 74d4e9c

Please sign in to comment.