Merge topic 'FindICU-show-found-libs'

c3c7e6d609 FindICU: Show location of found libraries

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7193
This commit is contained in:
Brad King
2022-04-22 13:11:35 +00:00
committed by Kitware Robot
+2 -2
View File
@@ -262,9 +262,9 @@ function(_ICU_FIND)
set("${component_found_compat}" "${${component_found_compat}}" PARENT_SCOPE)
if(component_found OR component_found_compat)
if (ICU_FIND_REQUIRED_${component})
list(APPEND ICU_LIBS_FOUND "${component} (required)")
list(APPEND ICU_LIBS_FOUND "${component} (required): ${${component_cache}}")
else()
list(APPEND ICU_LIBS_FOUND "${component} (optional)")
list(APPEND ICU_LIBS_FOUND "${component} (optional): ${${component_cache}}")
endif()
else()
if (ICU_FIND_REQUIRED_${component})