Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 69ce3ea

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 4d4cdc5 commit 69ce3ea

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
@@ -548,6 +548,7 @@ sub AddProject
548548
if ($self->{options}->{xml})
549549
{
550550
$proj->AddIncludeDir($self->{options}->{xml} . '\include');
551+
$proj->AddIncludeDir($self->{options}->{xml} . '\include\libxml2');
551552
$proj->AddLibrary($self->{options}->{xml} . '\lib\libxml2.lib');
552553
}
553554
if ($self->{options}->{xslt})

0 commit comments

Comments
 (0)