aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2017-05-12 10:17:54 -0400
committerAndrew Dunstan <andrew@dunslane.net>2017-05-12 10:22:20 -0400
commit69ce3ead1ebe64989c43be1db12d00cc9341d36a (patch)
treecd2ad9c3ef4e90080a416e39fc648b00f1075a02 /src
parent4d4cdc5065d3a5396c455af3d90b48c2be687319 (diff)
downloadpostgresql-69ce3ead1ebe64989c43be1db12d00cc9341d36a.tar.gz
postgresql-69ce3ead1ebe64989c43be1db12d00cc9341d36a.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/tools/msvc/Solution.pm1
1 files changed, 1 insertions, 0 deletions
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})