"git@developer.sourcefind.cn:yangql/googletest.git" did not exist on "c0777e6565a5ab58db699de75cd122ef9b8de847"
Commit 1e893191 authored by Jerry Turcios's avatar Jerry Turcios
Browse files

Add compilation option for C++11 in the root CMakeLists.txt

parent 2e91bbcf
...@@ -6,7 +6,8 @@ endif (POLICY CMP0048) ...@@ -6,7 +6,8 @@ endif (POLICY CMP0048)
project(googletest-distribution) project(googletest-distribution)
set(GOOGLETEST_VERSION 1.9.0) set(GOOGLETEST_VERSION 1.9.0)
set(CMAKE_CXX_STANDARD 11 CACHE STRING "Set the C++ standard to be used for compiling")
add_compile_options(-std=c++11)
enable_testing() enable_testing()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment