postgres.git / summary / log / commit / refs

commit    b757e01f62e44b4f425f78e3dc4e247ca9f1e983
Author:   Andrew Dunstan <andrew@dunslane.net>
Date:     Fri May 12 14:17:54 2017 +0000

    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.


src/tools/msvc/Solution.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tools/msvc/Solution.pm b/src/tools/msvc/Solution.pm index 7d6275ecb4b..dedfdcb9032 100644 --- a/src/tools/msvc/Solution.pm +++ b/src/tools/msvc/Solution.pm @@ -546,6 +546,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}) [parent: 96e1cb4c0fb4]