From 614f83c122b029edb13b01fbc62a518f2ffd1254 Mon Sep 17 00:00:00 2001 From: Andrew Dunstan Date: Fri, 12 May 2017 10:17:54 -0400 Subject: [PATCH] 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. --- src/tools/msvc/Solution.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tools/msvc/Solution.pm b/src/tools/msvc/Solution.pm index b3afb807987..0fcf24ac209 100644 --- a/src/tools/msvc/Solution.pm +++ b/src/tools/msvc/Solution.pm @@ -511,6 +511,7 @@ sub AddProject if ($self->{options}->{xml}) { $proj->AddIncludeDir($self->{options}->{xml} . '\include'); + $proj->AddIncludeDir($self->{options}->{xml} . '\include\libxml2'); $proj->AddLibrary($self->{options}->{xml} . '\lib\libxml2.lib'); } if ($self->{options}->{xslt}) -- 2.39.5