diff options
author | Derek Mauro <dmauro@google.com> | 2022-07-08 15:21:06 (GMT) |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2022-07-08 15:21:42 (GMT) |
commit | 4556086674e4dfae2aa5f042d9e7844fc5ef9b89 (patch) | |
tree | a88d9b79257bcf71e6192c696f279795b57183d1 /googletest/cmake | |
parent | e009c3d3dcb522c21ea83984dac6064a6399d3f6 (diff) | |
download | googletest-4556086674e4dfae2aa5f042d9e7844fc5ef9b89.zip googletest-4556086674e4dfae2aa5f042d9e7844fc5ef9b89.tar.gz googletest-4556086674e4dfae2aa5f042d9e7844fc5ef9b89.tar.bz2 |
CMake: raise the default C++ standard to cxx_std_14
PiperOrigin-RevId: 459761499
Change-Id: Ifb4b8b9f2dc598f3f4afc66a9efc403e001e0262
Diffstat (limited to 'googletest/cmake')
-rw-r--r-- | googletest/cmake/internal_utils.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/googletest/cmake/internal_utils.cmake b/googletest/cmake/internal_utils.cmake index 5a34c07..a0aaa66 100644 --- a/googletest/cmake/internal_utils.cmake +++ b/googletest/cmake/internal_utils.cmake @@ -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() |