summaryrefslogtreecommitdiffstats
path: root/kopete/ConfigureChecks.cmake
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-10-29 02:11:45 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-10-29 02:11:45 +0000
commit61f93068e2b74b0d23f7929f51426da29042fd15 (patch)
tree6ec076bc7cbd8d65c91ab9e794ecd266fd5d585b /kopete/ConfigureChecks.cmake
parent8682a96d7f3bbfcc1faea473df15509c3bf42d83 (diff)
downloadtdenetwork-61f93068e2b74b0d23f7929f51426da29042fd15.tar.gz
tdenetwork-61f93068e2b74b0d23f7929f51426da29042fd15.zip
Fix kdenetwork FTBFS on Fedora 15v3.5.13
Thanks to François Androit for the patch! git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1261216 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 ----------------------------------------------
+