Add a cached variable to CMAKE_CXX_STANDARD

This commit is contained in:
Jerry Turcios 2018-09-30 12:27:05 -04:00
parent d97dea39b9
commit cba3474435

View File

@ -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()