summaryrefslogtreecommitdiffstats
path: root/kopete/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorMavridis Philippe <[email protected]>2021-06-27 15:38:58 +0300
committerMavridis Philippe <[email protected]>2021-06-30 11:03:39 +0300
commitde786a075b31b4988341a625ef85c081530e2a7d (patch)
treeec8d645580223e95a70eae0b0c7d4706ea61609c /kopete/ConfigureChecks.cmake
parente7fdaa7a61e79a1c14d72da2b02cdcfee1956579 (diff)
downloadtdenetwork-de786a075b31b4988341a625ef85c081530e2a7d.tar.gz
tdenetwork-de786a075b31b4988341a625ef85c081530e2a7d.zip
Fixes for Kopete videodevice support
Signed-off-by: Mavridis Philippe <[email protected]>
Diffstat (limited to 'kopete/ConfigureChecks.cmake')
-rw-r--r--kopete/ConfigureChecks.cmake12
1 files changed, 6 insertions, 6 deletions
diff --git a/kopete/ConfigureChecks.cmake b/kopete/ConfigureChecks.cmake
index 445c76f9..c8e03e06 100644
--- a/kopete/ConfigureChecks.cmake
+++ b/kopete/ConfigureChecks.cmake
@@ -46,13 +46,13 @@ endif( )
### Check for videodev header
-check_include_file( "libv4l1-videodev.h" HAVE_LIBV4L1_VIDEODEV_H )
-if( HAVE_LIBV4L1_VIDEODEV_H )
- set( VIDEODEV_HEADER "libv4l1-videodev.h" CACHE INTERNAL "" )
+check_include_file( "linux/videodev2.h" HAVE_VIDEODEV_H )
+if( HAVE_VIDEODEV_H )
+ set( VIDEODEV_HEADER "linux/videodev2.h" CACHE INTERNAL "" )
else( )
- check_include_file( "linux/videodev.h" HAVE_VIDEODEV_H )
- if( HAVE_VIDEODEV_H )
- set( VIDEODEV_HEADER "linux/videodev.h" CACHE INTERNAL "" )
+ check_include_file( "libv4l1-videodev.h" HAVE_LIBV4L1_VIDEODEV_H )
+ if( HAVE_LIBV4L1_VIDEODEV_H )
+ set( VIDEODEV_HEADER "libv4l1-videodev.h" CACHE INTERNAL "" )
else( )
if( BUILD_KOPETE_PLUGIN_MOTIONAUTOAWAY )
tde_message_fatal( "libv4l1-videodev.h or linux/videodev.h is required, but not found on your system" )