From dd4f14fd68ae6e63fac09cfd0f17401522f982f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 27 Jan 2017 19:26:06 +0200 Subject: [PATCH] decklink: Add to the meson Windows build --- sys/decklink/meson.build | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/decklink/meson.build b/sys/decklink/meson.build index ba389ad1c2..df7772775e 100644 --- a/sys/decklink/meson.build +++ b/sys/decklink/meson.build @@ -20,6 +20,10 @@ if libdl.found() and have_pthread_h decklink_sources += ['osx/DeckLinkAPIDispatch.cpp'] decklink_ldflags = '-Wl,-framework,CoreFoundation' build_decklink = true + elif host_machine.system() == 'windows' + decklink_sources += ['win/DeckLinkAPIDispatch.cpp', 'win/DeckLinkAPI_i.c'] + decklink_ldflags = '-Wl,-framework,CoreFoundation' + build_decklink = true else message('Not building decklink plugin for system ' + host_machine.system()) endif