From cba3474435f948e37a76f4dee0c9e717e29f210c Mon Sep 17 00:00:00 2001 From: Jerry Turcios Date: Sun, 30 Sep 2018 12:27:05 -0400 Subject: [PATCH] Add a cached variable to CMAKE_CXX_STANDARD --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d5eba69a..b6b938f2 100644 --- a/CMakeLists.txt +++ b/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()