summaryrefslogtreecommitdiffstats
path: root/Modules/FindGTK2.cmake
diff options
context:
space:
mode:
authorJani Välimaa <wally@mageia.org>2020-12-22 15:36:34 (GMT)
committerBrad King <brad.king@kitware.com>2020-12-22 18:43:34 (GMT)
commit9e5e31221081e754e787cdb75fb7c4a1f0417bff (patch)
tree04ccd55a5e15fb09f5a9490615083e657bd6f7a3 /Modules/FindGTK2.cmake
parent440531e0f9abba65839e2e242367c6091cc4789c (diff)
downloadCMake-9e5e31221081e754e787cdb75fb7c4a1f0417bff.zip
CMake-9e5e31221081e754e787cdb75fb7c4a1f0417bff.tar.gz
CMake-9e5e31221081e754e787cdb75fb7c4a1f0417bff.tar.bz2
FindGTK2: Find atkmmconfig.h separately from atkmm.h
The former may be installed into libdir instead of includedir. We already do this for several other components. Fixes: #21627
Diffstat (limited to 'Modules/FindGTK2.cmake')
-rw-r--r--Modules/FindGTK2.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/FindGTK2.cmake b/Modules/FindGTK2.cmake
index 7036b66..00bfc29 100644
--- a/Modules/FindGTK2.cmake
+++ b/Modules/FindGTK2.cmake
@@ -805,6 +805,7 @@ foreach(_GTK2_component ${GTK2_FIND_COMPONENTS})
_GTK2_ADD_TARGET (GIOMM GTK2_DEPENDS gio glibmm gobject sigc++ glib)
_GTK2_FIND_INCLUDE_DIR(ATKMM atkmm.h)
+ _GTK2_FIND_INCLUDE_DIR(ATKMMCONFIG atkmmconfig.h)
_GTK2_FIND_LIBRARY (ATKMM atkmm true true)
_GTK2_ADD_TARGET (ATKMM GTK2_DEPENDS atk glibmm gobject sigc++ glib)