From: Andrew Dunstan Date: Fri, 12 May 2017 14:17:54 +0000 (-0400) Subject: Add libxml2 include path for MSVC builds X-Git-Tag: REL9_6_4~126 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=69ce3ead1ebe64989c43be1db12d00cc9341d36a;p=thirdparty%2Fpostgresql.git Add libxml2 include path for MSVC builds On Unix this path is detected via the use of xml2-config, but that's not available on Windows. This means that users building with libxml2 will no longer need to move things around from the standard libxml2 installation for MSVC builds. Backpatch to all live branches. --- diff --git a/src/tools/msvc/Solution.pm b/src/tools/msvc/Solution.pm index f07029bce16..666605b47b9 100644 --- a/src/tools/msvc/Solution.pm +++ b/src/tools/msvc/Solution.pm @@ -548,6 +548,7 @@ sub AddProject if ($self->{options}->{xml}) { $proj->AddIncludeDir($self->{options}->{xml} . '\include'); + $proj->AddIncludeDir($self->{options}->{xml} . '\include\libxml2'); $proj->AddLibrary($self->{options}->{xml} . '\lib\libxml2.lib'); } if ($self->{options}->{xslt})