Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
CMake
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jussi Kukkonen
CMake
Commits
845cb217
Commit
845cb217
authored
8 years ago
by
Brad King
Browse files
Options
Downloads
Patches
Plain Diff
CMP0059: Fix typo in policy description
parent
24b2a367
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Help/policy/CMP0059.rst
+1
-1
1 addition, 1 deletion
Help/policy/CMP0059.rst
Source/cmPolicies.h
+1
-1
1 addition, 1 deletion
Source/cmPolicies.h
Tests/RunCMake/CMP0059/CMP0059-WARN-stderr.txt
+2
-2
2 additions, 2 deletions
Tests/RunCMake/CMP0059/CMP0059-WARN-stderr.txt
with
4 additions
and
4 deletions
Help/policy/CMP0059.rst
+
1
−
1
View file @
845cb217
CMP0059
-------
Do
n'
t treat ``DEFINITIONS`` as a built-in directory property.
Do
no
t treat ``DEFINITIONS`` as a built-in directory property.
CMake 3.3 and above no longer make a list of definitions available through
the :prop_dir:`DEFINITIONS` directory property. The
...
...
This diff is collapsed.
Click to expand it.
Source/cmPolicies.h
+
1
−
1
View file @
845cb217
...
...
@@ -204,7 +204,7 @@ class cmPolicy;
"Ninja requires custom command byproducts to be explicit.", \
3, 3, 0, cmPolicies::WARN) \
SELECT(POLICY, CMP0059, \
"Do no treat DEFINITIONS as a built-in directory property.", \
"Do no
t
treat DEFINITIONS as a built-in directory property.", \
3, 3, 0, cmPolicies::WARN) \
SELECT(POLICY, CMP0060, \
"Link libraries by full path even in implicit directories.", \
...
...
This diff is collapsed.
Click to expand it.
Tests/RunCMake/CMP0059/CMP0059-WARN-stderr.txt
+
2
−
2
View file @
845cb217
CMake Warning \(dev\) at CMP0059-WARN.cmake:6 \(get_property\):
Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory
Policy CMP0059 is not set: Do no
t
treat DEFINITIONS as a built-in directory
property. Run "cmake --help-policy CMP0059" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Call Stack \(most recent call first\):
...
...
@@ -8,7 +8,7 @@ This warning is for project developers. Use -Wno-dev to suppress it.
DEFS: -DSOME_DEF
CMake Warning \(dev\) at CMP0059-WARN.cmake:14 \(get_property\):
Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory
Policy CMP0059 is not set: Do no
t
treat DEFINITIONS as a built-in directory
property. Run "cmake --help-policy CMP0059" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Call Stack \(most recent call first\):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment