[vtk] Fix dependency pugixml link type (#9958)

This commit is contained in:
Jack·Boos·Yu 2020-02-08 01:40:29 +08:00 committed by GitHub
parent 7d4227f02e
commit b8971ffdd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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()