Skip to content

Commit 5b5a744

Browse files
committed
build: fix FindICU's search for components
1 parent 16b6831 commit 5b5a744

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmake/modules/FindICU.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ function(_icu_find)
7676
set(component_cache_debug "${component_cache}_DEBUG")
7777
set(component_found "${component_cache}_FOUND")
7878

79+
unset(component_libnames)
80+
unset(component_debug_libnames)
7981
list(APPEND component_libnames "icu${component}")
8082
list(APPEND component_debug_libnames "icu${component}d")
8183
if(component STREQUAL data)

0 commit comments

Comments
 (0)