github action/cmake: fix macos icu linking

This commit is contained in:
Zdenko Podobný 2022-11-09 12:40:48 +01:00
parent 490611e4c6
commit 7d073f24fb
2 changed files with 2 additions and 2 deletions

View File

@ -54,6 +54,7 @@ jobs:
brew install leptonica
brew install libarchive
brew install pango
brew install icu4c && brew link icu4c
brew install cabextract
brew install ninja
ninja --version

View File

@ -264,8 +264,7 @@ if(ICU_FOUND)
PkgConfig::ICU)
else()
target_link_libraries(unicharset_training PUBLIC common_training
${ICU_LIBRARIES}
${ICU_LINK_LIBRARIES})
${ICU_LIBRARIES})
endif()
endif()
target_include_directories(unicharset_training