decklink: Add option to disable the plugin

Add an option to the cmake build system to disable the plugin. This is
needed on arm, as the plugin uses x86-intrinsics.
This commit is contained in:
fryshorts
2017-05-07 21:41:38 +02:00
parent 311cd6fb79
commit c8ce08d4b6
3 changed files with 15 additions and 0 deletions

View File

@@ -1,5 +1,10 @@
project(win-decklink)
if(DISABLE_DECKLINK)
message(STATUS "decklink plugin disabled")
return()
endif()
include(IDLFileHelper)
set(win-decklink-sdk_IDLS