summaryrefslogtreecommitdiffstats
path: root/Tests/FindPackageTest/FindUpperCasePackage.cmake
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-02-23 21:23:11 (GMT)
committerBrad King <brad.king@kitware.com>2015-04-17 14:46:24 (GMT)
commitd1a6d15bcd4df3d3e347411bd457be32275fb594 (patch)
tree0f76369cc1c8806360a8caa1a7561667ab48dcb7 /Tests/FindPackageTest/FindUpperCasePackage.cmake
parentcdc53b62c20605467334ecb80c474533e04ff26c (diff)
downloadCMake-d1a6d15bcd4df3d3e347411bd457be32275fb594.zip
CMake-d1a6d15bcd4df3d3e347411bd457be32275fb594.tar.gz
CMake-d1a6d15bcd4df3d3e347411bd457be32275fb594.tar.bz2
FPHSA: Always populate the ExactCase_FOUND variable (#15412).
The UPPERCASE name was inconsistent with config-packages, the find_dependency macro, and even FPHSA itself, which expects components to be specified with names matching ExactCase. The FOUND_VAR was only permitted to have two possible values, and now both are set for compatibility. Document it as obsolete, and adjust the code for the same. Users of the variable should just remove it.
Diffstat (limited to 'Tests/FindPackageTest/FindUpperCasePackage.cmake')
-rw-r--r--Tests/FindPackageTest/FindUpperCasePackage.cmake3
1 files changed, 1 insertions, 2 deletions
diff --git a/Tests/FindPackageTest/FindUpperCasePackage.cmake b/Tests/FindPackageTest/FindUpperCasePackage.cmake
index 425d417..5e349da 100644
--- a/Tests/FindPackageTest/FindUpperCasePackage.cmake
+++ b/Tests/FindPackageTest/FindUpperCasePackage.cmake
@@ -2,5 +2,4 @@ set(UCP_FOO TRUE)
include(${CMAKE_ROOT}/Modules/FindPackageHandleStandardArgs.cmake)
-find_package_handle_standard_args(UpperCasePackage REQUIRED_VARS UCP_FOO
- FOUND_VAR UPPERCASEPACKAGE_FOUND )
+find_package_handle_standard_args(UpperCasePackage REQUIRED_VARS UCP_FOO)