Set required C++ version
6e9c007 introduced a regression. The code requires c++17 (not c++11) and it's not yet default everywhere.
This commit is contained in:
parent
db10ff0949
commit
770bf97b1b
|
|
@ -4,6 +4,8 @@ project(osmpbf VERSION 1.5.0)
|
||||||
|
|
||||||
include(GNUInstallDirs)
|
include(GNUInstallDirs)
|
||||||
|
|
||||||
|
set(CMAKE_CXX_STANDARD 17)
|
||||||
|
|
||||||
# This is needed for the protobuf_generate_cpp() function to work on newer
|
# This is needed for the protobuf_generate_cpp() function to work on newer
|
||||||
# versions of the Protobuf CMake config.
|
# versions of the Protobuf CMake config.
|
||||||
set(protobuf_MODULE_COMPATIBLE ON CACHE BOOL "")
|
set(protobuf_MODULE_COMPATIBLE ON CACHE BOOL "")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue