Skip to content

Commit 2c0703d

Browse files
authored
Increase CMake minimum to 3.14 for FetchContent (#19)
1 parent d56a7b6 commit 2c0703d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/CMakeLists.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CMAKE_MINIMUM_REQUIRED(VERSION 3.1.0 FATAL_ERROR)
1+
CMAKE_MINIMUM_REQUIRED(VERSION 3.14 FATAL_ERROR)
22

33
set(CMAKE_CXX_STANDARD 17)
44
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
@@ -26,6 +26,7 @@ include_directories(
2626

2727
set (CMAKE_CXX_FLAGS "-std=c++1z")
2828

29+
# CMake 3.14+
2930
include(FetchContent)
3031

3132
FetchContent_Declare(

0 commit comments

Comments
 (0)