Skip to content


Merge pull request #1679 from telezhnaya/win
Browse files Browse the repository at this point in the history
vcxproj: change build logic
  • Loading branch information
dscho committed Jun 22, 2018
2 parents 823e119 + 6b74a6e commit bc5d2e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion contrib/buildsystems/Generators/
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,9 @@ sub createProject {
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>
Expand Down

0 comments on commit bc5d2e1

Please sign in to comment.