8000 Add libxml2 include path for MSVC builds · markusborg/postgres@8ec82ee · GitHub
[go: up one dir, main page]

Skip to content

Commit 8ec82ee

Browse files
committed
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.
1 parent 6f2fe24 commit 8ec82ee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tools/msvc/Solution.pm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -521,6 +521,7 @@ sub AddProject
521521
if ($self->{options}->{xml})
522522
{
523523
$proj->AddIncludeDir($self->{options}->{xml} . '\include');
524+
$proj->AddIncludeDir($self->{options}->{xml} . '\include\libxml2');
524525
$proj->AddLibrary($self->{options}->{xml} . '\lib\libxml2.lib');
525526
}
526527
if ($self->{options}->{xslt})

0 commit comments

Comments
 (0)
0