diff options
Diffstat (limited to 'kopete/ConfigureChecks.cmake')
-rw-r--r-- | kopete/ConfigureChecks.cmake | 12 |
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" ) |