Commit 45560866 authored by Derek Mauro's avatar Derek Mauro Committed by Copybara-Service
Browse files

CMake: raise the default C++ standard to cxx_std_14

PiperOrigin-RevId: 459761499
Change-Id: Ifb4b8b9f2dc598f3f4afc66a9efc403e001e0262
parent e009c3d3
......@@ -189,7 +189,7 @@ function(cxx_library_with_type name type cxx_flags)
endif()
if (NOT "${CMAKE_VERSION}" VERSION_LESS "3.8")
target_compile_features(${name} PUBLIC cxx_std_11)
target_compile_features(${name} PUBLIC cxx_std_14)
endif()
endfunction()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment