summaryrefslogtreecommitdiffstats
path: root/kopete/ConfigureChecks.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/ConfigureChecks.cmake')
-rw-r--r--kopete/ConfigureChecks.cmake8
1 files changed, 8 insertions, 0 deletions
diff --git a/kopete/ConfigureChecks.cmake b/kopete/ConfigureChecks.cmake
index 6a78d91f..aece4366 100644
--- a/kopete/ConfigureChecks.cmake
+++ b/kopete/ConfigureChecks.cmake
@@ -18,3 +18,11 @@ if( (BUILD_KOPETE_PROTOCOL_JABBER AND WITH_JINGLE) OR (BUILD_KOPETE_PROTOCOL_MSN
tde_message_fatal( "glib-2.0 is required, but was not found on your system" )
endif( )
endif( )
+
+# -- Check for libv4l1-videodev.h presence --------------------
+CHECK_INCLUDE_FILE ( "libv4l1-videodev.h" HAVE_LIBV4L1_VIDEODEV_H )
+if ( HAVE_LIBV4L1_VIDEODEV_H )
+ add_definitions( -DHAVE_LIBV4L1_VIDEODEV_H )
+endif ( )
+# -- End libv4l1-videodev.h ----------------------------------------------
+