CMake: Do not set C++ version any more.
At least C++11 is standard in modern compilers anyway. Only macOS seems to need an explicit set for this.
This commit is contained in:
parent
cffbe661b1
commit
6e9c00769f
|
|
@ -68,7 +68,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
CC: clang
|
CC: clang
|
||||||
CXX: clang++
|
CXX: clang++
|
||||||
CXXFLAGS: -Werror -Wall -pedantic
|
CXXFLAGS: -Werror -Wall -pedantic -std=c++17
|
||||||
BUILD_TYPE: Debug
|
BUILD_TYPE: Debug
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ project(osmpbf VERSION 1.5.0)
|
||||||
|
|
||||||
include(GNUInstallDirs)
|
include(GNUInstallDirs)
|
||||||
|
|
||||||
set(CMAKE_CXX_STANDARD 11)
|
#set(CMAKE_CXX_STANDARD 11)
|
||||||
|
|
||||||
find_package(Protobuf REQUIRED)
|
find_package(Protobuf REQUIRED)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue