]> git.sesse.net Git - kdenlive/blobdiff - src/CMakeLists.txt
Fix build on OSX by not using new V4LCaptureHandler.
[kdenlive] / src / CMakeLists.txt
index 5166e0d3122315c4d2facd2fe661274a640d8091..65a69c3f8ad888d7f6e8ca2ddcb6109b083ba688 100644 (file)
@@ -239,9 +239,6 @@ set(kdenlive_SRCS
   stopmotion/capturehandler.cpp
   blackmagic/capture.cpp
   blackmagic/devices.cpp
-  v4l/v4lcapture.cpp
-  v4l/src.c
-  v4l/src_v4l2.c
   onmonitoritems/abstractonmonitoritem.cpp 
   onmonitoritems/onmonitorrectitem.cpp
   onmonitoritems/onmonitorcornersitem.cpp
@@ -266,6 +263,15 @@ if (APPLE OR OPENGL_FOUND)
   set(kdenlive_SRCS videoglwidget.cpp ${kdenlive_SRCS})
 endif (APPLE OR OPENGL_FOUND)
 
+if (NOT APPLE)
+  set(kdenlive_SRCS
+    ${kdenlive_SRCS}
+    v4l/v4lcapture.cpp
+    v4l/src.c
+    v4l/src_v4l2.c
+  )
+endif (NOT APPLE)
+
 
 # Add libdl
 find_library( DL_LIB NAMES ${CMAKE_DL_LIBS} )