Skip to content

Commit 994a0f5

Browse files
committed
Default to Windows 8.1 toolset v140 for builds
1 parent 24e1c56 commit 994a0f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build-dokany.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@ echo ==================================================
9393
echo BUILDING DOKANY LIBRARIES
9494
echo ==================================================
9595
if defined USE_LEGACY_DOKAN (
96-
msbuild dokan.sln /p:PlatformToolset=v140 /p:ForceImportBeforeCppTargets="%DEPS_DIR%\dokan-legacy.props" /p:Configuration=Release /p:Platform=Win32 /t:Clean,Build
96+
msbuild dokan.sln /p:WindowsTargetPlatformVersion=8.1 /p:PlatformToolset=v140 /p:ForceImportBeforeCppTargets="%DEPS_DIR%\dokan-legacy.props" /p:Configuration=Release /p:Platform=Win32 /t:Clean,Build
9797
) else (
98-
msbuild dokan.sln /p:Configuration=Release /p:Platform=Win32 /t:Clean,Build
98+
msbuild dokan.sln /p:WindowsTargetPlatformVersion=8.1 /p:PlatformToolset=v140 /p:Configuration=Release /p:Platform=Win32 /t:Clean,Build
9999
)
100100

101101
REM verify necessary libraries were successfully built

0 commit comments

Comments
 (0)