summaryrefslogtreecommitdiff
path: root/cmake/modules
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2009-07-12 19:55:14 +0200
committerAlbert Astals Cid <aacid@kde.org>2009-07-12 19:55:14 +0200
commitd42b9425fb2f98fa79e7a60e4f71ef14f5bacfe9 (patch)
treeea81cf15c023ef87039ebeed507a9688a25c78e0 /cmake/modules
parent454f7468c6a6a442a5064b5daa24d65ebf4fc6b6 (diff)
glade is not used anymore
Diffstat (limited to 'cmake/modules')
-rw-r--r--cmake/modules/FindGTK.cmake9
1 files changed, 4 insertions, 5 deletions
diff --git a/cmake/modules/FindGTK.cmake b/cmake/modules/FindGTK.cmake
index b152c214..c751d3aa 100644
--- a/cmake/modules/FindGTK.cmake
+++ b/cmake/modules/FindGTK.cmake
@@ -50,21 +50,20 @@ if (NOT WIN32)
pkgconfig(gdk-pixbuf-2.0 _LibGDK2PixbufIncDir _LibGDK2PixbufLinkDir GDK2PixbufLinkFlags GDK2PixbufCflags)
pkgconfig(gthread-2.0 _LibGThread2IncDir _LibGThread2LinkDir GThread2LinkFlags GThread2Cflags)
- if (_LibGTK2IncDir AND _LibGDK2PixbufIncDir AND _LibGLADE2IncDir AND _LibGThread2IncDir)
-
+ if (_LibGTK2IncDir AND _LibGDK2PixbufIncDir AND _LibGThread2IncDir)
exec_program(${PKGCONFIG_EXECUTABLE} ARGS --atleast-version=2.8.0 gtk+-2.0 RETURN_VALUE _return_VALUE OUTPUT_VARIABLE _pkgconfigDevNull)
if(_return_VALUE STREQUAL "0")
set(_gtk_FOUND TRUE)
endif(_return_VALUE STREQUAL "0")
if (_gtk_FOUND)
- set (GTK2_CFLAGS ${GTK2Cflags} ${GDK2PixbufCflags} ${GLADE2Cflags} ${GThread2Cflags})
- set (GTK2_LIBRARIES ${GTK2LinkFlags} ${GDK2PixbufLinkFlags} ${GLADE2LinkFlags} ${GThread2LinkFlags})
+ set (GTK2_CFLAGS ${GTK2Cflags} ${GDK2PixbufCflags} ${GThread2Cflags})
+ set (GTK2_LIBRARIES ${GTK2LinkFlags} ${GDK2PixbufLinkFlags} ${GThread2LinkFlags})
endif (_gtk_FOUND)
find_package_handle_standard_args(GTK DEFAULT_MSG GTK2_LIBRARIES GTK2_CFLAGS)
- endif (_LibGTK2IncDir AND _LibGDK2PixbufIncDir AND _LibGLADE2IncDir AND _LibGThread2IncDir)
+ endif (_LibGTK2IncDir AND _LibGDK2PixbufIncDir AND _LibGThread2IncDir)
endif(NOT WIN32)