Add a cached variable to CMAKE_CXX_STANDARD

pull/1872/head
Jerry Turcios 6 years ago
parent d97dea39b9
commit cba3474435
  1. 2
      CMakeLists.txt

@ -6,7 +6,7 @@ endif (POLICY CMP0048)
project(googletest-distribution)
set(GOOGLETEST_VERSION 1.9.0)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD 11 CACHE STRING "Set the C++ standard to be used for compiling")
enable_testing()

Loading…
Cancel
Save