mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-18 19:30:15 +08:00
d788ada4e9
[libharu] Add patches required for vtk [vcpkg-build-cmake] Add retry logic for mt.exe failures
15 lines
722 B
Diff
15 lines
722 B
Diff
diff --git a/IO/CityGML/CMakeLists.txt b/IO/CityGML/CMakeLists.txt
|
|
index ce979ba..322e2de 100644
|
|
--- a/IO/CityGML/CMakeLists.txt
|
|
+++ b/IO/CityGML/CMakeLists.txt
|
|
@@ -4,8 +4,5 @@ vtk_module_library(vtkIOCityGML ${Module_SRCS})
|
|
# pugixml does not set _INCLUDE_DIRS or _LIBRARIES
|
|
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)
|
|
- include_directories(${pugixml_INCLUDE_DIRS})
|
|
- vtk_module_link_libraries(vtkIOCityGML LINK_PRIVATE ${pugixml_LIBRARIES})
|
|
+ vtk_module_link_libraries(vtkIOCityGML LINK_PRIVATE pugixml)
|
|
endif()
|