Skip to content

Commit 2c7d211

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 2944270 commit 2c7d211

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
@@ -530,6 +530,7 @@ sub AddProject
530530
if ($self->{options}->{xml})
531531
{
532532
$proj->AddIncludeDir($self->{options}->{xml} . '\include');
533+
$proj->AddIncludeDir($self->{options}->{xml} . '\include\libxml2');
533534
$proj->AddLibrary($self->{options}->{xml} . '\lib\libxml2.lib');
534535
}
535536
if ($self->{options}->{xslt})

0 commit comments

Comments
 (0)