summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-11 20:40:19 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-11 20:40:19 +0000
commit9c8150b75ff42d23cefed07e1a07bb3c06ec9850 (patch)
tree68de4b0565b386bc8bfdae69fc4643f79a6242af /kpovmodeler/ConfigureChecks.cmake
parent561cd5cd3e14f39d20d02eed6d86f95f4146eea9 (diff)
downloadtdegraphics-9c8150b75ff42d23cefed07e1a07bb3c06ec9850.tar.gz
tdegraphics-9c8150b75ff42d23cefed07e1a07bb3c06ec9850.zip
[kdegraphics/kpovmodeler] added cmake support
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1231435 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpovmodeler/ConfigureChecks.cmake')
-rw-r--r--kpovmodeler/ConfigureChecks.cmake23
1 files changed, 23 insertions, 0 deletions
diff --git a/kpovmodeler/ConfigureChecks.cmake b/kpovmodeler/ConfigureChecks.cmake
new file mode 100644
index 00000000..3b325475
--- /dev/null
+++ b/kpovmodeler/ConfigureChecks.cmake
@@ -0,0 +1,23 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+# glu
+pkg_search_module( GLU glu )
+if( NOT GLU_FOUND )
+ tde_message_fatal( "glu is required, but was not found on your system" )
+endif( )
+
+
+# xmu
+pkg_search_module( XMU xmu )
+if( NOT XMU_FOUND )
+ tde_message_fatal( "xmu is required, but was not found on your system" )
+endif( )