summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-27 19:49:01 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-27 19:49:01 +0000
commit0d772cdcb1100285ecb0d9867fc9b795d3c8a707 (patch)
tree0a56038a6398ef57af37b82dddbc134e760b2f6a /CMakeLists.txt
parent2fa036d5898ffd3dee5f4c396b09c7d904c49b5e (diff)
downloadtdelibs-0d772cdcb1100285ecb0d9867fc9b795d3c8a707.tar.gz
tdelibs-0d772cdcb1100285ecb0d9867fc9b795d3c8a707.zip
[kdelibs/kglib] added cmake support
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1217534 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 33eb77959..6a931058c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -565,6 +565,20 @@ if( NOT LIBXSLT_FOUND )
endif( NOT LIBXSLT_FOUND )
+##### check for glib-2.0 & friends ##############
+
+pkg_search_module( GLIB2 glib-2.0 )
+if( NOT GLIB2_FOUND )
+ tde_message_fatal( "glib-2.0 are required, but not found on your system" )
+endif( )
+
+pkg_search_module( GOBJECT2 gobject-2.0 )
+if( NOT GLIB2_FOUND )
+ tde_message_fatal( "gobject-2.0 are required, but not found on your system" )
+endif( )
+
+
+
##### check for Qt3 #############################
# find_package( Qt3 )
@@ -767,6 +781,7 @@ install( FILES
add_subdirectory( dcop )
add_subdirectory( libltdl )
+add_subdirectory( kglib )
add_subdirectory( kdefx )
add_subdirectory( kdecore )
add_subdirectory( kunittest )