Skip to content

Commit

Permalink
Set required C++ version
Browse files Browse the repository at this point in the history
6e9c007 introduced a regression. The code requires c++17 (not c++11) and it's not yet default everywhere.
  • Loading branch information
AMDmi3 authored Mar 12, 2024
1 parent db10ff0 commit 770bf97
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ project(osmpbf VERSION 1.5.0)

include(GNUInstallDirs)

set(CMAKE_CXX_STANDARD 17)

# This is needed for the protobuf_generate_cpp() function to work on newer
# versions of the Protobuf CMake config.
set(protobuf_MODULE_COMPATIBLE ON CACHE BOOL "")
Expand Down

0 comments on commit 770bf97

Please sign in to comment.