FindICU: Show location of found libraries

Announce locations of the libraries without the use of `ICU_DEBUG`.
This commit is contained in:
Don Olmstead
2022-04-20 13:56:51 -04:00
committed by Brad King
parent 7fc013a922
commit c3c7e6d609

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})