option(WITH_V4L "Build capture support with Video4Linux" ON)
option(WITH_JogShuttle "Build Jog/Shuttle support" ON)
+option(WITH_BlackMagic "Build Blackmagic Decklinkl support" ON)
if(WITH_V4L)
# This can be changed to support FreeBSD as soon as we move to a newer V4L2
endif(HAVE_LINUX_INPUT_H)
endif(WITH_JogShuttle)
+if(WITH_BlackMagic)
+ set(BUILD_BlackMagic TRUE)
+endif(WITH_BlackMagic)
+
macro_log_feature(QT_QTOPENGL_FOUND
"QtOpenGL"
"Qt bindings for the OpenGL library"
add_subdirectory(audioscopes)
add_subdirectory(beziercurve)
-add_subdirectory(blackmagic)
add_subdirectory(colorcorrection)
add_subdirectory(colorscopes)
add_subdirectory(commands)
add_subdirectory(v4l)
endif(BUILD_V4L)
+if(BUILD_BlackMagic)
+ add_subdirectory(blackmagic)
+endif(BUILD_BlackMagic)
+
list(APPEND kdenlive_SRCS
main.cpp
mainwindow.cpp
add_definitions(-DUSE_V4L)
endif(BUILD_V4L)
+if(BUILD_BlackMagic)
+ add_definitions(-DUSE_BLACKMAGIC)
+endif(BUILD_BlackMagic)
+
if(BUILD_JogShuttle)
add_definitions(-DUSE_JOGSHUTTLE)
endif(BUILD_JogShuttle)