Skip to content

Commit

Permalink
c++17
Browse files Browse the repository at this point in the history
Summary: lnicco/mvfst-qns#4

Reviewed By: mjoras

Differential Revision: D23675244

fbshipit-source-id: 8707bed66432f15e4984cae3610da03e1a22af02
  • Loading branch information
lnicco authored and facebook-github-bot committed Sep 14, 2020
1 parent c9aebdd commit 36cc983
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ project(
proxygen
)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)

set(CMAKE_MODULE_PATH
"${CMAKE_CURRENT_SOURCE_DIR}/cmake"
# for in-fbsource builds
Expand Down Expand Up @@ -68,7 +72,6 @@ find_package(Boost 1.58 REQUIRED

list(APPEND
_PROXYGEN_COMMON_COMPILE_OPTIONS
-std=c++14
-Wall
-Wextra
)
Expand Down

0 comments on commit 36cc983

Please sign in to comment.