summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-03-25 22:14:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-03-25 22:14:43 +0000
commit8bf92ab4856dbb1470bf3dddf40f80408dd4999f (patch)
treeb8605a88ed9829157818c3c647caebcf0e1fea77 /ConfigureChecks.cmake
downloaddbus-tqt-8bf92ab4856dbb1470bf3dddf40f80408dd4999f.tar.gz
dbus-tqt-8bf92ab4856dbb1470bf3dddf40f80408dd4999f.zip
Import of revision 66 from svn.trinitydesktop.org
Please keep this in sync with the upstream SVN git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/dbus-tqt@1225998 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake22
1 files changed, 22 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
new file mode 100644
index 0000000..a172249
--- /dev/null
+++ b/ConfigureChecks.cmake
@@ -0,0 +1,22 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+# dbus-1
+pkg_search_module( DBUS dbus-1 )
+if( NOT DBUS_FOUND )
+ tde_message_fatal( "dbus-1 is required, but was not found on your system" )
+endif( )
+
+# qt3
+find_package( Qt )
+
+# tqt
+find_package( TQt )