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
26afdba7
Commit
26afdba7
authored
Jun 13, 2019
by
Gennadiy Civil
Browse files
Merge pull request #2283 from xammy:cmake-cmp0054
PiperOrigin-RevId: 253052041
parents
af4c2cb0
e580d991
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 @
26afdba7
...
@@ -12,6 +12,10 @@
...
@@ -12,6 +12,10 @@
# Test and Google Mock's option() definitions, and thus must be
# Test and Google Mock's option() definitions, and thus must be
# called *after* the options have been defined.
# called *after* the options have been defined.
if
(
POLICY CMP0054
)
cmake_policy
(
SET CMP0054 NEW
)
endif
(
POLICY CMP0054
)
# Tweaks CMake's default compiler/linker settings to suit Google Test's needs.
# Tweaks CMake's default compiler/linker settings to suit Google Test's needs.
#
#
# This must be a macro(), as inside a function string() can only
# This must be a macro(), as inside a function string() can only
...
...
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