Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2017-08-13 23:02:26 +0300
committerKacper Michajłow <kasper93@gmail.com>2017-08-14 00:00:40 +0300
commit2769a9690829900bcd6e7190179b6f00a623cdd2 (patch)
tree47bfad17d8a11cbc09935157fcdf4e7594f6f981
parentf2d699cbdec5ef0a3f72ee08943e62e757104d5d (diff)
Enforce SDK version for LAV Filters.
-rwxr-xr-xsrc/thirdparty/LAVFilters/build_lavfilters.bat6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/thirdparty/LAVFilters/build_lavfilters.bat b/src/thirdparty/LAVFilters/build_lavfilters.bat
index 521eddaf3..2bb7926f1 100755
--- a/src/thirdparty/LAVFilters/build_lavfilters.bat
+++ b/src/thirdparty/LAVFilters/build_lavfilters.bat
@@ -80,6 +80,8 @@ IF /I "%COMPILER%" == "VS2017" (
)
IF NOT EXIST "%TOOLSET%" GOTO MissingVar
+CALL "%COMMON%" :SubParseConfig
+
IF /I "%ARCH%" == "Both" (
SET "ARCH=x86" & CALL :Main
SET "ARCH=x64" & CALL :Main
@@ -94,9 +96,9 @@ IF %ERRORLEVEL% NEQ 0 EXIT /B
IF /I "%ARCH%" == "x86" (SET TOOLSETARCH=x86) ELSE (SET TOOLSETARCH=amd64)
IF /I "%COMPILER%" == "VS2017" (
- CALL "%TOOLSET%" -no_logo -arch=%TOOLSETARCH%
+ CALL "%TOOLSET%" -no_logo -arch=%TOOLSETARCH% -winsdk=%MPCHC_WINSDK_VER%
) ELSE (
- CALL "%TOOLSET%" %TOOLSETARCH%
+ CALL "%TOOLSET%" %TOOLSETARCH% %MPCHC_WINSDK_VER%
)
SET START_TIME=%TIME%