Skip to content
Permalink
Browse files

Merge pull request #1679 from telezhnaya/win

vcxproj: change build logic
  • Loading branch information...
dscho committed May 15, 2018
2 parents 06671f4 + 06d9a6a commit 33461f1d44a43b30a241400c96b2735857d624b3
Showing with 2 additions and 1 deletion.
  1. +2 −1 contrib/buildsystems/Generators/Vcxproj.pm
@@ -179,8 +179,9 @@ sub createProject {
EOM
if ($target eq 'libgit') {
print F << "EOM";
<PreBuildEvent Condition="!Exists('$cdup\\compat\\vcbuild\\vcpkg')">
<PreBuildEvent Condition="!Exists('$cdup\\compat\\vcbuild\\vcpkg') OR (!Exists('$cdup\\compat\\vcbuild\\vcpkg\\installed\\x64-windows\\include\\openssl\\ssl.h') AND !Exists('$cdup\\compat\\vcbuild\\vcpkg\\installed\\x86-windows\\include\\openssl\\ssl.h'))">
<Message>Initialize VCPKG</Message>
<Command>del "$cdup\\compat\\vcbuild\\vcpkg"</Command>
<Command>call "$cdup\\compat\\vcbuild\\vcpkg_install.bat" </Command>
</PreBuildEvent>
EOM

0 comments on commit 33461f1

Please sign in to comment.
You can’t perform that action at this time.