summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-07-19 18:19:42 (GMT)
committerBrad King <brad.king@kitware.com>2018-07-20 13:43:08 (GMT)
commit492ade276b9a54ad61ba5eed4eea77897fdb74c1 (patch)
treed4eacdf430e9e29aa89244e2ab1dd9c01ba5ab78 /Source
parentf84c15ef2fa30dd074fcccafccec6b9b69266619 (diff)
downloadCMake-492ade276b9a54ad61ba5eed4eea77897fdb74c1.zip
CMake-492ade276b9a54ad61ba5eed4eea77897fdb74c1.tar.gz
CMake-492ade276b9a54ad61ba5eed4eea77897fdb74c1.tar.bz2
Help: Add explicit <PackageName>_ROOT variable documentation
Add documentation for both the CMake variable and environment variable of this name pattern. Update references to these names to link to their documents. Clarify the pattern used to construct their names.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmPolicies.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmPolicies.h b/Source/cmPolicies.h
index 3fe0c84..1ef1813 100644
--- a/Source/cmPolicies.h
+++ b/Source/cmPolicies.h
@@ -219,8 +219,8 @@ class cmMakefile;
SELECT(POLICY, CMP0073, \
"Do not produce legacy _LIB_DEPENDS cache entries.", 3, 12, 0, \
cmPolicies::WARN) \
- SELECT(POLICY, CMP0074, "find_package uses PackageName_ROOT variables.", 3, \
- 12, 0, cmPolicies::WARN) \
+ SELECT(POLICY, CMP0074, "find_package uses <PackageName>_ROOT variables.", \
+ 3, 12, 0, cmPolicies::WARN) \
SELECT(POLICY, CMP0075, \
"Include file check macros honor CMAKE_REQUIRED_LIBRARIES.", 3, 12, \
0, cmPolicies::WARN)