Skip to content

Commit

Permalink
Merge pull request #20 from jonchang/patch-3
Browse files Browse the repository at this point in the history
cmake: build in c++11 mode for newer protobufs
  • Loading branch information
adarob authored Nov 14, 2019
2 parents 4ae5793 + 3816d5b commit 2b50154
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ set(${PROJECT_NAME}_VERSION_MAJOR 1)
set(${PROJECT_NAME}_VERSION_MINOR 5)
set(${PROJECT_NAME}_VERSION_PATCH 1)

set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

set(CMAKE_CXX_FLAGS "-Wall")

set(CMAKE_CXX_FLAGS_DEBUG "-g ${CMAKE_CXX_FLAGS}")
Expand Down

0 comments on commit 2b50154

Please sign in to comment.