From b8971ffdd080f85a055961d5251c32c456211d0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jack=C2=B7Boos=C2=B7Yu?= <47264268+JackBoosY@users.noreply.github.com> Date: Sat, 8 Feb 2020 01:40:29 +0800 Subject: [PATCH] [vtk] Fix dependency pugixml link type (#9958) --- ports/vtk/CONTROL | 2 +- ports/vtk/fix-pugixml-link.patch | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ports/vtk/CONTROL b/ports/vtk/CONTROL index f0731b24c..e8693b06e 100644 --- a/ports/vtk/CONTROL +++ b/ports/vtk/CONTROL @@ -1,5 +1,5 @@ Source: vtk -Version: 8.2.0-10 +Version: 8.2.0-11 Description: Software system for 3D computer graphics, image processing, and visualization Homepage: https://github.com/Kitware/VTK Build-Depends: zlib, libpng, tiff, libxml2, jsoncpp, glew, freetype, expat, hdf5, libjpeg-turbo, proj4, lz4, libtheora, eigen3, double-conversion, pugixml, libharu, sqlite3, netcdf-c diff --git a/ports/vtk/fix-pugixml-link.patch b/ports/vtk/fix-pugixml-link.patch index 8708506b6..9a5edb5f5 100644 --- a/ports/vtk/fix-pugixml-link.patch +++ b/ports/vtk/fix-pugixml-link.patch @@ -10,5 +10,5 @@ index ce979ba..322e2de 100644 - get_target_property(pugixml_LIBRARIES pugixml LOCATION) - include_directories(${pugixml_INCLUDE_DIRS}) - vtk_module_link_libraries(vtkIOCityGML LINK_PRIVATE ${pugixml_LIBRARIES}) -+ vtk_module_link_libraries(vtkIOCityGML LINK_PRIVATE pugixml) ++ vtk_module_link_libraries(vtkIOCityGML LINK_PUBLIC pugixml) endif()