Skip to content

Commit

Permalink
CMake: Do not set C++ version any more.
Browse files Browse the repository at this point in the history
At least C++11 is standard in modern compilers anyway. Only macOS seems
to need an explicit set for this.
  • Loading branch information
joto committed May 27, 2022
1 parent cffbe66 commit 6e9c007
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/c.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
env:
CC: clang
CXX: clang++
CXXFLAGS: -Werror -Wall -pedantic
CXXFLAGS: -Werror -Wall -pedantic -std=c++17
BUILD_TYPE: Debug
steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ project(osmpbf VERSION 1.5.0)

include(GNUInstallDirs)

set(CMAKE_CXX_STANDARD 11)
#set(CMAKE_CXX_STANDARD 11)

find_package(Protobuf REQUIRED)

Expand Down

0 comments on commit 6e9c007

Please sign in to comment.