blob: 9b712cb0e789ee5f8205f685c49f3f63dd8ee3fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
diff --git a/apps/CMakeLists.txt b/apps/CMakeLists.txt
index 8dd8845f35..c4b7e37543 100644
--- a/apps/CMakeLists.txt
+++ b/apps/CMakeLists.txt
@@ -3,7 +3,7 @@
#
# (based originally on the libLAS files copyright Mateusz Loskot)
-cmake_minimum_required(VERSION 2.8)
+cmake_minimum_required(VERSION 3.5)
#------------------------------------------------------------------------------
# Configure build targets
diff --git a/cmake/ctest.cmake b/cmake/ctest.cmake
index a8382aaef5..98035205d1 100644
--- a/cmake/ctest.cmake
+++ b/cmake/ctest.cmake
@@ -5,7 +5,7 @@ if(ENABLE_CTEST)
if (WITH_TESTS)
message(STATUS
"Enable CTest to support submissions of results to CDash at http://cdash.org")
- cmake_minimum_required(VERSION 2.8.0)
+ cmake_minimum_required(VERSION 3.5.0)
#
# Dashboard has been prepared for experiments
# http://my.cdash.org/index.php?project=PDAL
diff --git a/dimbuilder/CMakeLists.txt b/dimbuilder/CMakeLists.txt
index 09d334f1f8..9aa9742f63 100644
--- a/dimbuilder/CMakeLists.txt
+++ b/dimbuilder/CMakeLists.txt
@@ -2,7 +2,7 @@
# The seemingly strange arrangement of this cmake file allows you to build
# this application as a standalone.
#
-cmake_minimum_required(VERSION 2.8.6)
+cmake_minimum_required(VERSION 3.5)
set(MAKE_COLOR_MAKEFILE ON)
diff --git a/plugins/rdb/CMakeLists.txt b/plugins/rdb/CMakeLists.txt
index 2ec0adcf92..2e8ae422de 100644
--- a/plugins/rdb/CMakeLists.txt
+++ b/plugins/rdb/CMakeLists.txt
@@ -1,6 +1,6 @@
if (STANDALONE)
-cmake_minimum_required(VERSION 3.1)
+cmake_minimum_required(VERSION 3.5)
set(ROOT_DIR "../../${PROJECT_SOURCE_DIR}")
include(../../cmake/common.cmake NO_POLICY_SCOPE)
include(FeatureSummary)
diff --git a/tools/lasdump/CMakeLists.txt b/tools/lasdump/CMakeLists.txt
index 8083a228d8..767d642e76 100644
--- a/tools/lasdump/CMakeLists.txt
+++ b/tools/lasdump/CMakeLists.txt
@@ -2,7 +2,7 @@
# The seemingly strange arrangement of this cmake file allows you to build
# lasdump as a standalone.
#
-cmake_minimum_required(VERSION 2.8.6)
+cmake_minimum_required(VERSION 3.5)
set(MAKE_COLOR_MAKEFILE ON)
diff --git a/vendor/gtest/CMakeLists.txt b/vendor/gtest/CMakeLists.txt
index db292946a5..e41e59761e 100644
--- a/vendor/gtest/CMakeLists.txt
+++ b/vendor/gtest/CMakeLists.txt
@@ -53,7 +53,7 @@ else()
cmake_policy(SET CMP0048 NEW)
project(gtest VERSION ${GOOGLETEST_VERSION} LANGUAGES CXX C)
endif()
-cmake_minimum_required(VERSION 2.6.4)
+cmake_minimum_required(VERSION 3.5)
if (POLICY CMP0063) # Visibility
cmake_policy(SET CMP0063 NEW)
|