From 70c0649e23bf7e57a6e0cc3b2dbeca21b1c82342 Mon Sep 17 00:00:00 2001 From: coles Date: Sat, 14 Mar 2009 21:41:57 +0000 Subject: [PATCH] Added include path for libv4l2 includes, rather than assuming they are in one of the include paths caught elsewhere. git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdenetwork@939441 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kopete/libkopete/avdevice/CMakeLists.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/kopete/libkopete/avdevice/CMakeLists.txt b/kopete/libkopete/avdevice/CMakeLists.txt index 48dfd86d6..9d059b00b 100644 --- a/kopete/libkopete/avdevice/CMakeLists.txt +++ b/kopete/libkopete/avdevice/CMakeLists.txt @@ -1,8 +1,14 @@ +if (LIBV4L2_FOUND) include_directories( ${KOPETE_INCLUDES} +${LIBV4L2_INCLUDE_DIR} ) - +else (LIBV4L2_FOUND) +include_directories( +${KOPETE_INCLUDES} +) +endif (LIBV4L2_FOUND) ########### next target ############### -- 2.11.4.GIT