vcpkg/ports/xerces-c/dependencies.patch
Kai Pastor 688ece7142
[xerces-c] Update to 3.2.4 (#28928)
* [xerces-c] Update to 3.2.4

* Modernize, cleanup

* Update versions
2023-01-16 12:41:27 -08:00

17 lines
473 B
Diff

diff --git a/src/XercesCConfig.cmake.in b/src/XercesCConfig.cmake.in
index aa8fc2e..07ec56d 100644
--- a/src/XercesCConfig.cmake.in
+++ b/src/XercesCConfig.cmake.in
@@ -1,5 +1,11 @@
@PACKAGE_INIT@
+include(CMakeFindDependencyMacro)
+find_dependency(Threads)
+if("@CMAKE_REQUIRE_FIND_PACKAGE_ICU@")
+ find_dependency(ICU COMPONENTS uc data)
+endif()
+
include(${CMAKE_CURRENT_LIST_DIR}/XercesCConfigInternal.cmake)
add_library(XercesC::XercesC INTERFACE IMPORTED)