Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5345ab7

Browse files
authored
Merge pull request #16627 from QuLogic/azure-libpng
ci: Restore nuget install step on Azure for v3.2.x.
2 parents e8740ff + 6dc5349 commit 5345ab7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

azure-pipelines.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,12 @@ steps:
8181
brew install pkg-config ffmpeg imagemagick mplayer ccache
8282
;;
8383
win32)
84+
nuget install libpng-msvc14-x64 -ExcludeVersion -OutputDirectory "$(build.BinariesDirectory)"
85+
nuget install zlib-msvc14-x64 -ExcludeVersion -OutputDirectory "$(build.BinariesDirectory)"
86+
echo ##vso[task.prependpath]$(build.BinariesDirectory)\libpng-msvc14-x64\build\native\bin_release
87+
echo ##vso[task.prependpath]$(build.BinariesDirectory)\zlib-msvc14-x64\build\native\bin_release
88+
echo ##vso[task.setvariable variable=CL]/I$(build.BinariesDirectory)\libpng-msvc14-x64\build\native\include /I$(build.BinariesDirectory)\zlib-msvc14-x64\build\native\include
89+
echo ##vso[task.setvariable variable=LINK]/LIBPATH:$(build.BinariesDirectory)\libpng-msvc14-x64\build\native\lib_release /LIBPATH:$(build.BinariesDirectory)\zlib-msvc14-x64\build\native\lib_release
8490
;;
8591
*)
8692
exit 1

0 commit comments

Comments
 (0)