summaryrefslogtreecommitdiffstats
path: root/kamera/ConfigureChecks.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'kamera/ConfigureChecks.cmake')
-rw-r--r--kamera/ConfigureChecks.cmake15
1 files changed, 15 insertions, 0 deletions
diff --git a/kamera/ConfigureChecks.cmake b/kamera/ConfigureChecks.cmake
new file mode 100644
index 00000000..359f9a00
--- /dev/null
+++ b/kamera/ConfigureChecks.cmake
@@ -0,0 +1,15 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+pkg_search_module( GPHOTO2 libgphoto2 )
+if( NOT GPHOTO2_FOUND )
+ tde_message_fatal( "libgphoto2 is required, but was not found on your system" )
+endif( )