diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2019-12-09 13:19:35 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2020-01-14 22:25:49 (GMT) |
commit | ee4673c1ae1e4a1aa4687412717567c2ffbb501b (patch) | |
tree | d8fc21374a252ecd7ad9ad92e1921c42897b95a0 /Tests/RunCMake/FPHSA/RunCMakeTest.cmake | |
parent | 93526fd91319d952e60760c735a9bb191bc4ede3 (diff) | |
download | CMake-ee4673c1ae1e4a1aa4687412717567c2ffbb501b.zip CMake-ee4673c1ae1e4a1aa4687412717567c2ffbb501b.tar.gz CMake-ee4673c1ae1e4a1aa4687412717567c2ffbb501b.tar.bz2 |
FPHSA: detect package name mismatches
The `FPHSA_NAME_MISMATCHED` variable may be set if this is intentional
(but should be cleared after the call to not affect other FPHSA calls).
It may also be passed via the `NAME_MISMATCHED` option for new-signature
FPHSA calls.
Diffstat (limited to 'Tests/RunCMake/FPHSA/RunCMakeTest.cmake')
-rw-r--r-- | Tests/RunCMake/FPHSA/RunCMakeTest.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/FPHSA/RunCMakeTest.cmake b/Tests/RunCMake/FPHSA/RunCMakeTest.cmake index f3e6c3e..286915d 100644 --- a/Tests/RunCMake/FPHSA/RunCMakeTest.cmake +++ b/Tests/RunCMake/FPHSA/RunCMakeTest.cmake @@ -1,6 +1,7 @@ include(RunCMake) run_cmake(BadFoundVar) +run_cmake(NameMismatch) # The pseudo module will "find" a package with the given version. Check if the # version selection code in FPHSA works correctly. |