Skip to content

Commit e109e21

Browse files
authored
require CMake 3.8 to understand CXX17 flags - thanks @leeanne2 for reporting (#285)
1 parent 89fe5a0 commit e109e21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

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

7-
cmake_minimum_required(VERSION 3.4...3.18)
7+
cmake_minimum_required(VERSION 3.8) # CXX17
88

99
if (NOT EXISTS "${CMAKE_SOURCE_DIR}/gitmodules/pybind11/include/pybind11/pybind11.h" )
1010
message(FATAL_ERROR "git submodules not initialised.\n Please run `git submodule update --init`")

0 commit comments

Comments
 (0)