projects
/
profile
/
ivi
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ad3427
)
Fix linking error under Win 7 - do not import MinCore_Downlevel.lib if target is...
author
Artur Wieczorek
<artwik@wp.pl>
Thu, 25 Sep 2014 09:45:11 +0000
(11:45 +0200)
committer
Artur Wieczorek
<artwik@wp.pl>
Thu, 25 Sep 2014 09:45:11 +0000
(11:45 +0200)
Applied in PR3243 to 2.4 branch.
modules/videoio/src/cap_msmf.cpp
patch
|
blob
|
history
diff --git
a/modules/videoio/src/cap_msmf.cpp
b/modules/videoio/src/cap_msmf.cpp
index
2ef4ac2
..
2c7f0ea
100644
(file)
--- a/
modules/videoio/src/cap_msmf.cpp
+++ b/
modules/videoio/src/cap_msmf.cpp
@@
-78,7
+78,9
@@
#pragma comment(lib, "mfuuid")
#pragma comment(lib, "Strmiids")
#pragma comment(lib, "Mfreadwrite")
+#if (WINVER >= 0x0602) // Available since Win 8
#pragma comment(lib, "MinCore_Downlevel")
+#endif
#include <mferror.h>