Skip to content

Commit

Permalink
Enforce C++14 when building protobuf
Browse files Browse the repository at this point in the history
Signed-off-by: Uilian Ries <[email protected]>
  • Loading branch information
uilianries authored and vitalybuka committed Jun 15, 2024
1 parent 57bb9e2 commit 72dc799
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/external/protobuf.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ ExternalProject_Add(${PROTOBUF_TARGET}
-DCMAKE_CXX_COMPILER_LAUNCHER:FILEPATH=${CMAKE_CXX_COMPILER_LAUNCHER}
-DCMAKE_C_FLAGS=${PROTOBUF_CFLAGS}
-DCMAKE_CXX_FLAGS=${PROTOBUF_CXXFLAGS}
-DCMAKE_CXX_STANDARD=${CMAKE_CXX_STANDARD}
-DCMAKE_CXX_STANDARD=14
-Dprotobuf_BUILD_TESTS=OFF
BUILD_BYPRODUCTS ${PROTOBUF_BUILD_BYPRODUCTS}
)
Expand Down

0 comments on commit 72dc799

Please sign in to comment.