Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
googletest
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
googletest
Commits
e580d991
Commit
e580d991
authored
Jun 12, 2019
by
Matthias Walter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Setting CMP0054 policy to NEW. This allows to use the string "SHARED" without…
Setting CMP0054 policy to NEW. This allows to use the string "SHARED" without interpreting it as a variable.
parent
af4c2cb0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
internal_utils.cmake
googletest/cmake/internal_utils.cmake
+4
-0
No files found.
googletest/cmake/internal_utils.cmake
View file @
e580d991
...
@@ -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