diff --git a/src/training/CMakeLists.txt b/src/training/CMakeLists.txt index 211e3244cd..17ae720c49 100644 --- a/src/training/CMakeLists.txt +++ b/src/training/CMakeLists.txt @@ -264,7 +264,7 @@ if(ICU_FOUND) PkgConfig::ICU) else() target_link_libraries(unicharset_training PUBLIC common_training - ICU::uc ICU::i18n + ${ICU_LIBRARIES} ${ICU_LINK_LIBRARIES}) endif() endif()