File tree 8 files changed +34
-16
lines changed
8 files changed +34
-16
lines changed Original file line number Diff line number Diff line change 1
- project (SlicerExecutionModel)
2
-
3
1
#-----------------------------------------------------------------------------
4
- cmake_minimum_required (VERSION 2.8.6)
2
+ cmake_minimum_required (VERSION 3.5)
3
+ foreach (p
4
+ ## Only policies introduced after the cmake_minimum_required
5
+ ## version need to explicitly be set to NEW.
6
+ #Policies Introduced by CMake 3.11
7
+ CMP0072 # FindOpenGL prefers GLVND by default when available.
8
+ #Policies Introduced by CMake 3.10
9
+ CMP0071 # Let AUTOMOC and AUTOUIC process GENERATED files.
10
+ CMP0070 # Define file(GENERATE) behavior for relative paths.
11
+ #Policies Introduced by CMake 3.9
12
+ CMP0069 # INTERPROCEDURAL_OPTIMIZATION is enforced when enabled.
13
+ CMP0068 # RPATH settings on macOS do not affect install_name.
14
+ #Policies Introduced by CMake 3.8
15
+ CMP0067 # Honor language standard in try_compile() source-file signature.
16
+ #Policies Introduced by CMake 3.7
17
+ CMP0066 # Honor per-config flags in try_compile() source-file signature.
18
+ )
19
+ if (POLICY ${p} )
20
+ cmake_policy (SET ${p} NEW)
21
+ endif ()
22
+ endforeach ()
23
+
24
+ project (SlicerExecutionModel CXX)
25
+
5
26
#-----------------------------------------------------------------------------
6
27
7
28
include (CMakeDependentOption)
Original file line number Diff line number Diff line change 1
- project (GenerateCLP)
2
-
3
1
#-----------------------------------------------------------------------------
4
- cmake_minimum_required (VERSION 2.8.6 )
2
+ cmake_minimum_required (VERSION 3.5 )
5
3
#-----------------------------------------------------------------------------
4
+ project (GenerateCLP)
6
5
7
6
#-----------------------------------------------------------------------------
8
7
# Set a default build type if none was specified
Original file line number Diff line number Diff line change 1
- cmake_minimum_required (VERSION 2.8.6 )
1
+ cmake_minimum_required (VERSION 3.5 )
2
2
3
3
include (${CMAKE_CURRENT_SOURCE_DIR} /../CMake/GenerateCLPTestMacros.cmake)
4
4
Original file line number Diff line number Diff line change 1
- cmake_minimum_required (VERSION 2.8.6 )
1
+ cmake_minimum_required (VERSION 3.5 )
2
2
3
3
include (${CMAKE_CURRENT_SOURCE_DIR} /../CMake/GenerateCLPTestMacros.cmake)
4
4
Original file line number Diff line number Diff line change 1
- cmake_minimum_required (VERSION 2.8.6 )
1
+ cmake_minimum_required (VERSION 3.5 )
2
2
3
3
#-----------------------------------------------------------------------------
4
4
# Configure & Build
Original file line number Diff line number Diff line change 1
- cmake_minimum_required (VERSION 2.8.6 )
1
+ cmake_minimum_required (VERSION 3.5 )
2
2
3
3
include (${CMAKE_CURRENT_SOURCE_DIR} /../CMake/GenerateCLPTestMacros.cmake)
4
4
Original file line number Diff line number Diff line change 1
- project (ModuleDescriptionParser)
2
-
3
1
#-----------------------------------------------------------------------------
4
- cmake_minimum_required (VERSION 2.8.6 )
2
+ cmake_minimum_required (VERSION 3.5 )
5
3
#-----------------------------------------------------------------------------
4
+ project (ModuleDescriptionParser CXX)
6
5
7
6
#-----------------------------------------------------------------------------
8
7
# Set a default build type if none was specified
Original file line number Diff line number Diff line change 1
- project (TCLAP)
2
-
3
1
#-----------------------------------------------------------------------------
4
- cmake_minimum_required (VERSION 2.8.6 )
2
+ cmake_minimum_required (VERSION 3.5 )
5
3
#-----------------------------------------------------------------------------
4
+ project (TCLAP)
6
5
7
6
# --------------------------------------------------------------------------
8
7
# Install headers
You can’t perform that action at this time.
0 commit comments