Skip to content

Commit

Permalink
Require CMake 3.8 (for meta feature cxx_std_17)
Browse files Browse the repository at this point in the history
  • Loading branch information
d-frey committed Oct 10, 2018
1 parent dc7b528 commit c8d1cbb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required (VERSION 3.3.0 FATAL_ERROR)
cmake_minimum_required (VERSION 3.8.0 FATAL_ERROR)

project (pegtl VERSION 2.7.1 LANGUAGES CXX)
project (pegtl VERSION 3.0.0 LANGUAGES CXX)

# installation directories
set (PEGTL_INSTALL_INCLUDE_DIR "include" CACHE STRING "The installation include directory")
Expand All @@ -15,7 +15,7 @@ target_include_directories (pegtl INTERFACE
$<INSTALL_INTERFACE:${PEGTL_INSTALL_INCLUDE_DIR}>
)

# features required by the PEGTL
# require C++17
target_compile_features (pegtl INTERFACE cxx_std_17)

# testing
Expand Down
3 changes: 2 additions & 1 deletion doc/Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@

Released 2018-??-??

Version 3.0.0 is version 2.7.1 updated to C++17.
* Switched to C++17.
* Updated minimum CMake version zu 3.8.

## 2.7.1

Expand Down

0 comments on commit c8d1cbb

Please sign in to comment.