Commit b757e01f authored by Andrew Dunstan's avatar Andrew Dunstan

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.
parent 96e1cb4c
...@@ -546,6 +546,7 @@ sub AddProject ...@@ -546,6 +546,7 @@ sub AddProject
if ($self->{options}->{xml}) if ($self->{options}->{xml})
{ {
$proj->AddIncludeDir($self->{options}->{xml} . '\include'); $proj->AddIncludeDir($self->{options}->{xml} . '\include');
$proj->AddIncludeDir($self->{options}->{xml} . '\include\libxml2');
$proj->AddLibrary($self->{options}->{xml} . '\lib\libxml2.lib'); $proj->AddLibrary($self->{options}->{xml} . '\lib\libxml2.lib');
} }
if ($self->{options}->{xslt}) if ($self->{options}->{xslt})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment