mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 13:51:33 -06:00
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.
33 lines
1.1 KiB
Plaintext
33 lines
1.1 KiB
Plaintext
----------
|
|
Foo_ROOT :<base>/foo/cmake_root
|
|
ENV{Foo_ROOT} :<base>/foo/env_root
|
|
+
|
|
CMake Warning \(dev\) at CMP0074-common.cmake:[0-9]+ \(find_package\):
|
|
Policy CMP0074 is not set: find_package uses <PackageName>_ROOT variables.
|
|
Run "cmake --help-policy CMP0074" for policy details. Use the cmake_policy
|
|
command to set the policy and suppress this warning.
|
|
|
|
CMake variable Foo_ROOT is set to:
|
|
|
|
.*/Tests/RunCMake/find_package/PackageRoot/foo/cmake_root
|
|
|
|
Environment variable Foo_ROOT is set to:
|
|
|
|
.*/Tests/RunCMake/find_package/PackageRoot/foo/env_root
|
|
|
|
For compatibility, CMake is ignoring the variable.
|
|
Call Stack \(most recent call first\):
|
|
CMP0074-common.cmake:[0-9]+ \(RunPackageRootTest\)
|
|
CMP0074-WARN.cmake:[0-9]+ \(include\)
|
|
CMakeLists.txt:[0-9]+ \(include\)
|
|
This warning is for project developers. Use -Wno-dev to suppress it.
|
|
+
|
|
find_package\(Foo\)
|
|
FOO_TEST_FILE_FOO :FOO_TEST_FILE_FOO-NOTFOUND
|
|
FOO_TEST_FILE_ZOT :FOO_TEST_FILE_ZOT-NOTFOUND
|
|
FOO_TEST_PATH_FOO :FOO_TEST_PATH_FOO-NOTFOUND
|
|
FOO_TEST_PATH_ZOT :FOO_TEST_PATH_ZOT-NOTFOUND
|
|
FOO_TEST_PROG_FOO :FOO_TEST_PROG_FOO-NOTFOUND
|
|
|
|
----------
|