Skip to content

Commit 0a4e942

Browse files
committed
Remove compatability with CMake <=3.4 (refs #114)
1 parent 9094685 commit 0a4e942

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55

66
# CMake version
7-
cmake_minimum_required(VERSION 3.2 FATAL_ERROR)
7+
cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
88

99
#
1010
# Configure CMake environment

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The main target platforms are typical desktop, laptop, and server platforms. Cur
2121
However, other UNIX versions may work as well if they are supported by CMake.
2222

2323
The cmake-init template assumes you want to setup a project using
24-
* CMake (3.2 or above)
24+
* CMake (3.5 or above)
2525
* C/C++ compiler
2626

2727

@@ -99,7 +99,7 @@ As with most CMake projects, cmake-init initializes the CMake environment. This
9999

100100
```cmake
101101
# CMake version
102-
cmake_minimum_required(VERSION 3.2 FATAL_ERROR)
102+
cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
103103
```
104104

105105
required policies,

source/baselib/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ write_compiler_detection_header(
7373
PREFIX ${target_id}
7474
COMPILERS AppleClang Clang GNU MSVC
7575
FEATURES cxx_alignas cxx_alignof cxx_constexpr cxx_final cxx_noexcept cxx_nullptr cxx_sizeof_member cxx_thread_local
76-
VERSION 3.2
76+
VERSION 3.5
7777
)
7878

7979
# Create API export header

source/fiblib/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ write_compiler_detection_header(
7575
PREFIX ${target_id}
7676
COMPILERS AppleClang Clang GNU MSVC
7777
FEATURES cxx_alignas cxx_alignof cxx_constexpr cxx_final cxx_noexcept cxx_nullptr cxx_sizeof_member cxx_thread_local
78-
VERSION 3.2
78+
VERSION 3.5
7979
)
8080

8181
# Create API export header

source/tests/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55

66
# CMake version
7-
cmake_minimum_required(VERSION 3.2 FATAL_ERROR)
7+
cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
88

99
# Meta information about the project
1010
set(META_PROJECT_NAME "template")

0 commit comments

Comments
 (0)