Add an option to the cmake build system to disable the plugin. This is needed on arm, as the plugin uses x86-intrinsics.
@@ -1,5 +1,10 @@
project(linux-decklink)
+if(DISABLE_DECKLINK)
+ message(STATUS "decklink plugin disabled")
+ return()
+endif()
+
set(linux-decklink-sdk_HEADERS
decklink-sdk/DeckLinkAPI.h
decklink-sdk/DeckLinkAPIConfiguration.h
project(mac-decklink)
find_library(COREFOUNDATION CoreFoundation)
include_directories(${COREFOUNDATION})
project(win-decklink)
include(IDLFileHelper)
set(win-decklink-sdk_IDLS