Add a cached variable to CMAKE_CXX_STANDARD
This commit is contained in:
parent
d97dea39b9
commit
cba3474435
|
@ -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…
Reference in New Issue
Block a user