Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
1e893191
Commit
1e893191
authored
Oct 02, 2018
by
Jerry Turcios
Browse files
Add compilation option for C++11 in the root CMakeLists.txt
parent
2e91bbcf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
CMakeLists.txt
CMakeLists.txt
+2
-1
No files found.
CMakeLists.txt
View file @
1e893191
...
...
@@ -6,7 +6,8 @@ endif (POLICY CMP0048)
project
(
googletest-distribution
)
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
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment