Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
592d4642
Commit
592d4642
authored
Jul 09, 2020
by
Gennadiy Rozental
Browse files
Merge pull request #2808 from OlivierLDff:cmake-cpp11-feature
PiperOrigin-RevId: 320222294
parents
017c8d56
131878ce
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
googletest/cmake/internal_utils.cmake
googletest/cmake/internal_utils.cmake
+4
-0
No files found.
googletest/cmake/internal_utils.cmake
View file @
592d4642
...
...
@@ -188,6 +188,10 @@ function(cxx_library_with_type name type cxx_flags)
endif
()
target_link_libraries
(
${
name
}
PUBLIC
${
threads_spec
}
)
endif
()
if
(
NOT
"
${
CMAKE_VERSION
}
"
VERSION_LESS
"3.8"
)
target_compile_features
(
${
name
}
PUBLIC cxx_std_11
)
endif
()
endfunction
()
########################################################################
...
...
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