mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-29 04:09:35 +03:00
FindICU: Add libdl to the link libraries for icu-uc
This commit is contained in:
1 parent
17e98e00c4
commit
1320122d3f
1 file changed
+4
@@ -363,6 +363,10 @@ if(ICU_FOUND)
|
||||
IMPORTED_LINK_INTERFACE_LANGUAGES_DEBUG "CXX"
|
||||
IMPORTED_LOCATION_DEBUG "${${_ICU_component_cache_debug}}")
|
||||
endif()
|
||||
if(CMAKE_DL_LIBS AND _ICU_component STREQUAL "uc")
|
||||
set_target_properties(${_ICU_imported_target} PROPERTIES
|
||||
INTERFACE_LINK_LIBRARIES "${CMAKE_DL_LIBS}")
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
unset(_ICU_component_upcase)
|
||||
|
||||
Reference in new issue
Block a user