mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-19 07:27:50 +08:00
17 lines
473 B
Diff
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)
|