Commit 77f902b
AcademySoftwareFoundation#604: Fix Blackmagic Video Output plugin build on Windows (AcademySoftwareFoundation#605)
### 604: Fix Blackmagic Video Output plugin build on Windows
### Linked issues
Fixes AcademySoftwareFoundation#604
### Summarize your change.
Added a post-install step in the BlackMagicDevice cmake file (bmd.cmake)
to generate the DeckLinkAPI.h header file via midl.exe which is required
to build the Blackmagic Video Output plugin on Windows.
Note that the BlackMagic SDK only provides .idl files on Windows (not .h
header files). Since that we are building OpenRV in a non managed way,
we need to generate a DesktopLinkAPI.h header file from the provided
.idl files.
### Describe the reason for the change.
The Blackmagic Video Output plugin build on Windows was broken.
### Describe what you have tested and on which operating system.
Successfully tested on Windows.
Note that this commit is Windows specific so it should not impact any
other OS.
### Add a list of changes, and note any that might need special
attention during the review.
### If possible, provide screenshots.
Signed-off-by: Bernard Laberge <[email protected]>
Signed-off-by: Cédrik Fuoco <[email protected]>1 parent a470377 commit 77f902b
1 file changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
62 | 72 | | |
63 | 73 | | |
64 | 74 | | |
| |||
0 commit comments