diff options
author | Alex Neundorf <neundorf@kde.org> | 2012-11-29 08:21:18 (GMT) |
---|---|---|
committer | Alex Neundorf <neundorf@kde.org> | 2012-11-29 08:21:18 (GMT) |
commit | 4809cadfe82316b648de50471169b4da9ef101e2 (patch) | |
tree | 00b101cf01d48f498858f97ef97b5d17f7d7d0a4 /Modules/FindKDE4.cmake | |
parent | d5ac791366595be307896e9894c66815c1e1eb2f (diff) | |
download | CMake-4809cadfe82316b648de50471169b4da9ef101e2.zip CMake-4809cadfe82316b648de50471169b4da9ef101e2.tar.gz CMake-4809cadfe82316b648de50471169b4da9ef101e2.tar.bz2 |
FPHSA: don't succeed if only checking for XX_FOUND (#13755)
This fixes issue #13755.
FPHSA(XX DEFAULT_MSG XX_FOUND)
always succeeded due to the way how the XX_FOUND variable was set.
It was preset to TRUE, and then reset to FALSE if something was missing
(...which had the effect that XX_FOUND itself was already preset when FPHSA
checked whether XX_FOUND is set)
Now XX_FOUND is unset first, and only later on set to TRUE.
Alex
Diffstat (limited to 'Modules/FindKDE4.cmake')
0 files changed, 0 insertions, 0 deletions