summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniele E. Domenichelli <daniele.domenichelli@iit.it>2013-08-05 08:56:36 (GMT)
committerBrad King <brad.king@kitware.com>2013-10-08 00:19:29 (GMT)
commit7af8ad89af137067d512ae30dc2e16d25e136a23 (patch)
treea52a5e23f2661063c86fadbd9d4e6ebf357bb8d8
parentfab6c2deb0ced0d4a0623fe2dfd56c0b235a5ca1 (diff)
downloadCMake-7af8ad89af137067d512ae30dc2e16d25e136a23.zip
CMake-7af8ad89af137067d512ae30dc2e16d25e136a23.tar.gz
CMake-7af8ad89af137067d512ae30dc2e16d25e136a23.tar.bz2
FindGTK2: Search for glib-object.h instead of gobject/gobject.h
This is the topmost include file for GObject header files
-rw-r--r--Modules/FindGTK2.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindGTK2.cmake b/Modules/FindGTK2.cmake
index 22b4707..d3f037a 100644
--- a/Modules/FindGTK2.cmake
+++ b/Modules/FindGTK2.cmake
@@ -512,7 +512,7 @@ foreach(_GTK2_component ${GTK2_FIND_COMPONENTS})
_GTK2_FIND_INCLUDE_DIR(GTK2_ATK atk/atk.h)
_GTK2_FIND_LIBRARY (GTK2_ATK atk false true)
- _GTK2_FIND_INCLUDE_DIR(GTK2_GOBJECT gobject/gobject.h)
+ _GTK2_FIND_INCLUDE_DIR(GTK2_GOBJECT glib-object.h)
_GTK2_FIND_LIBRARY (GTK2_GOBJECT gobject false true)
_GTK2_FIND_INCLUDE_DIR(GTK2_GLIB glib.h)