Skip to content

Commit 738e1ae

Browse files
author
Jon Haitz Legarreta Gorroño
authored
Merge pull request #80 from jhlegarreta/UpdateCMakeMinimumRequiredVersion
COMP: Set the minimum required CMake version to 3.10.2.
2 parents fe0b39a + 54a27ca commit 738e1ae

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
cmake_minimum_required(VERSION 3.9.5 FATAL_ERROR)
2-
cmake_policy(VERSION 3.9.5)
1+
cmake_minimum_required(VERSION 3.10.2 FATAL_ERROR)
2+
cmake_policy(VERSION 3.10.2)
33

44
set(PRIMARY_PROJECT_NAME ITKSoftwareGuide)
55

SoftwareGuide/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
# images, if not the images are expected to be present in the Art/ folder
2525
# in PNG/XFIG/JPEG/EPS format.
2626
#
27-
cmake_minimum_required(VERSION 3.9.5 FATAL_ERROR)
28-
cmake_policy(VERSION 3.9.5)
27+
cmake_minimum_required(VERSION 3.10.2 FATAL_ERROR)
28+
cmake_policy(VERSION 3.10.2)
2929

3030
project(SoftwareGuide C)
3131

SoftwareGuide/Cover/Source/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
cmake_minimum_required(VERSION 3.9.5 FATAL_ERROR)
2-
cmake_policy(VERSION 3.9.5)
1+
cmake_minimum_required(VERSION 3.10.2 FATAL_ERROR)
2+
cmake_policy(VERSION 3.10.2)
33

44
project( VWSegmentation )
55

SoftwareGuide/Examples/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
cmake_minimum_required(VERSION 3.9.5 FATAL_ERROR)
2-
cmake_policy(VERSION 3.9.5)
3-
1+
cmake_minimum_required(VERSION 3.10.2 FATAL_ERROR)
2+
cmake_policy(VERSION 3.10.2)
3+
44
project(Examples C)
55

66
set(_required_vars

SoftwareGuide/Latex/DevelopmentGuidelines/CreateAModule.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ \subsection{CMakeLists.txt}
6161
contain
6262

6363
\begin{minted}[baselinestretch=1,fontsize=\footnotesize,linenos=false,bgcolor=ltgray]{cmake}
64-
cmake_minimum_required(VERSION 3.9.5 FATAL_ERROR)
65-
cmake_policy(VERSION 3.9.5)
64+
cmake_minimum_required(VERSION 3.10.2 FATAL_ERROR)
65+
cmake_policy(VERSION 3.10.2)
6666

6767
project(MyModule)
6868

0 commit comments

Comments
 (0)