mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-27 20:59:36 +08:00
github action/cmake: fix macos icu linking
This commit is contained in:
parent
490611e4c6
commit
7d073f24fb
1
.github/workflows/cmake.yml
vendored
1
.github/workflows/cmake.yml
vendored
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user