summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAisha Tammy <gentoo@aisha.cc>2020-12-13 16:59:35 +0000
committerSam James <sam@gentoo.org>2020-12-15 02:13:08 +0000
commit767ff1a606565950d73c713ef498daaff12d6509 (patch)
treed7f6fe597d769d26c9f15c9e21e92bc7b593eff3 /sci-libs/vtk/files
parentnet-vpn/tailscale: remove 1.2.0 (diff)
downloadgentoo-767ff1a606565950d73c713ef498daaff12d6509.tar.gz
gentoo-767ff1a606565950d73c713ef498daaff12d6509.tar.bz2
gentoo-767ff1a606565950d73c713ef498daaff12d6509.zip
sci-libs/vtk: fix finding pugixml
Closes: https://bugs.gentoo.org/758611 Package-Manager: Portage-3.0.11, Repoman-3.0.2 Signed-off-by: Aisha Tammy <gentoo@aisha.cc> Closes: https://github.com/gentoo/gentoo/pull/18640 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-libs/vtk/files')
-rw-r--r--sci-libs/vtk/files/vtk-8.2.0-pugixml.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/sci-libs/vtk/files/vtk-8.2.0-pugixml.patch b/sci-libs/vtk/files/vtk-8.2.0-pugixml.patch
new file mode 100644
index 000000000000..3c72bcf0003b
--- /dev/null
+++ b/sci-libs/vtk/files/vtk-8.2.0-pugixml.patch
@@ -0,0 +1,13 @@
+diff --git a/IO/CityGML/CMakeLists.txt b/IO/CityGML/CMakeLists.txt
+index ce979ba..555f205 100644
+--- a/IO/CityGML/CMakeLists.txt
++++ b/IO/CityGML/CMakeLists.txt
+@@ -5,7 +5,7 @@ vtk_module_library(vtkIOCityGML ${Module_SRCS})
+ if(VTK_USE_SYSTEM_PUGIXML AND NOT pugixml_INCLUDE_DIRS)
+ find_package(pugixml REQUIRED)
+ get_target_property(pugixml_INCLUDE_DIRS pugixml INTERFACE_INCLUDE_DIRECTORIES)
+- get_target_property(pugixml_LIBRARIES pugixml LOCATION)
++ get_target_property(pugixml_LIBRARIES pugixml INTERFACE_LINK_LIBRARIES)
+ include_directories(${pugixml_INCLUDE_DIRS})
+ vtk_module_link_libraries(vtkIOCityGML LINK_PRIVATE ${pugixml_LIBRARIES})
+ endif()