summaryrefslogtreecommitdiffstats
path: root/Modules/FindGTK2.cmake
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2019-12-09 14:27:30 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2020-01-14 22:25:49 (GMT)
commitbe4d1bdf9ab25cfd8c5837bbf5de3c20e3b75959 (patch)
tree21aa9d2293c10d4cfff53b971c49768cf8a95589 /Modules/FindGTK2.cmake
parentee4673c1ae1e4a1aa4687412717567c2ffbb501b (diff)
downloadCMake-be4d1bdf9ab25cfd8c5837bbf5de3c20e3b75959.zip
CMake-be4d1bdf9ab25cfd8c5837bbf5de3c20e3b75959.tar.gz
CMake-be4d1bdf9ab25cfd8c5837bbf5de3c20e3b75959.tar.bz2
FPHSA: acknowledge the name mismatches in CMake-owned modules
Diffstat (limited to 'Modules/FindGTK2.cmake')
-rw-r--r--Modules/FindGTK2.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/FindGTK2.cmake b/Modules/FindGTK2.cmake
index 83091f3..9117321 100644
--- a/Modules/FindGTK2.cmake
+++ b/Modules/FindGTK2.cmake
@@ -881,6 +881,7 @@ foreach(_GTK2_component ${GTK2_FIND_COMPONENTS})
set(GTK2_${_COMPONENT_UPPER}_FIND_QUIETLY ${GTK2_FIND_QUIETLY})
+ set(FPHSA_NAME_MISMATCHED 1)
if(_GTK2_component STREQUAL "gtk")
FIND_PACKAGE_HANDLE_STANDARD_ARGS(GTK2_${_COMPONENT_UPPER} "Some or all of the gtk libraries were not found."
GTK2_GTK_LIBRARY
@@ -923,6 +924,7 @@ foreach(_GTK2_component ${GTK2_FIND_COMPONENTS})
GTK2_GLADEMMCONFIG_INCLUDE_DIR
)
endif()
+ unset(FPHSA_NAME_MISMATCHED)
if(NOT GTK2_${_COMPONENT_UPPER}_FOUND)
set(_GTK2_did_we_find_everything false)