mirror of
https://github.com/opencv/opencv.git
synced 2024-12-18 11:28:02 +08:00
Fix linking error under Win 7 - do not import MinCore_Downlevel.lib if target is Win 7 or earlier.
Applied in PR3243 to 2.4 branch.
This commit is contained in:
parent
6ad3427426
commit
25cf51637d
@ -78,7 +78,9 @@
|
|||||||
#pragma comment(lib, "mfuuid")
|
#pragma comment(lib, "mfuuid")
|
||||||
#pragma comment(lib, "Strmiids")
|
#pragma comment(lib, "Strmiids")
|
||||||
#pragma comment(lib, "Mfreadwrite")
|
#pragma comment(lib, "Mfreadwrite")
|
||||||
|
#if (WINVER >= 0x0602) // Available since Win 8
|
||||||
#pragma comment(lib, "MinCore_Downlevel")
|
#pragma comment(lib, "MinCore_Downlevel")
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <mferror.h>
|
#include <mferror.h>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user