summaryrefslogtreecommitdiffstats
path: root/kopete/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-07-26 12:33:42 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-07-26 12:33:42 -0500
commitd8cbbab802a063679a4db5cebc73122cdb1da100 (patch)
treec41bd7338c21b2ad8aca7d68ca81ef27f8a032b3 /kopete/ConfigureChecks.cmake
parent35c41f35b08e981caa062f963ad2611ee6ef35a9 (diff)
downloadtdenetwork-d8cbbab802a063679a4db5cebc73122cdb1da100.tar.gz
tdenetwork-d8cbbab802a063679a4db5cebc73122cdb1da100.zip
Use libv4l if available, otherwise check for v4l1 headers
Diffstat (limited to 'kopete/ConfigureChecks.cmake')
-rw-r--r--kopete/ConfigureChecks.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/kopete/ConfigureChecks.cmake b/kopete/ConfigureChecks.cmake
index aece4366..70e97f5b 100644
--- a/kopete/ConfigureChecks.cmake
+++ b/kopete/ConfigureChecks.cmake
@@ -26,3 +26,10 @@ if ( HAVE_LIBV4L1_VIDEODEV_H )
endif ( )
# -- End libv4l1-videodev.h ----------------------------------------------
+# -- Check for linux/videodev.h presence --------------------
+CHECK_INCLUDE_FILE ( "linux/videodev.h" HAVE_LINUX_VIDEODEV_H )
+if ( HAVE_LINUX_VIDEODEV_H )
+ add_definitions( -DHAVE_LINUX_VIDEODEV_H )
+endif ( )
+# -- End linux-videodev.h ----------------------------------------------
+