summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-04-22 13:11:35 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-04-22 13:11:42 (GMT)
commitb48e348b660a752f6595fca88069af586bf243cf (patch)
treecac64c22dc0203a7d1d58037b7c24f7805ab57d1 /Modules
parentf415b457e3694375f028c0ce228ce78382425a7f (diff)
parentc3c7e6d609666f1698b5b6d4dfaff1167cb36886 (diff)
downloadCMake-b48e348b660a752f6595fca88069af586bf243cf.zip
CMake-b48e348b660a752f6595fca88069af586bf243cf.tar.gz
CMake-b48e348b660a752f6595fca88069af586bf243cf.tar.bz2
Merge topic 'FindICU-show-found-libs'
c3c7e6d609 FindICU: Show location of found libraries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7193
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindICU.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/FindICU.cmake b/Modules/FindICU.cmake
index 1bae825..91dcba5 100644
--- a/Modules/FindICU.cmake
+++ b/Modules/FindICU.cmake
@@ -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})