1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-14 02:08:27 +08:00

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
This commit is contained in:
Jani Välimaa
2020-12-22 17:36:34 +02:00
committed by Brad King
parent 440531e0f9
commit 9e5e312210

View File

@@ -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)