We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2254a13 + 999e421 commit b8a67daCopy full SHA for b8a67da
CMakeLists.txt
@@ -47,7 +47,7 @@ if(HAS_LIBDISPATCH_API)
47
find_package(dispatch CONFIG REQUIRED)
48
endif()
49
50
-find_package(ICU COMPONENTS uc i18n REQUIRED)
+find_package(ICU COMPONENTS uc i18n REQUIRED OPTIONAL_COMPONENTS data)
51
52
include(SwiftSupport)
53
include(GNUInstallDirs)
CoreFoundation/CMakeLists.txt
@@ -397,6 +397,10 @@ if(NOT CMAKE_SYSTEM_NAME STREQUAL Darwin)
397
target_link_libraries(CoreFoundation PRIVATE
398
ICU::uc
399
ICU::i18n)
400
+ if(ICU_DATA_FOUND)
401
+ target_link_libraries(CoreFoundation PRIVATE
402
+ ICU::data)
403
+ endif()
404
405
406
if(NOT CMAKE_SYSTEM_NAME STREQUAL Darwin)
0 commit comments