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

Commit b757e01

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 96e1cb4 commit b757e01

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tools/msvc/Solution.pm

+1
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,7 @@ sub AddProject
546546
if ($self->{options}->{xml})
547547
{
548548
$proj->AddIncludeDir($self->{options}->{xml} . '\include');
549+
$proj->AddIncludeDir($self->{options}->{xml} . '\include\libxml2');
549550
$proj->AddLibrary($self->{options}->{xml} . '\lib\libxml2.lib');
550551
}
551552
if ($self->{options}->{xslt})

0 commit comments

Comments
 (0)