FindICU: fails to determine ICU_LIBRARY on MacOS
I moved from Linux to MacOS (macbook air m1) for my toy interpreter, and my cmake fails to determine a constant.
Steps to reproduce:
> brew install icu4c # does the job and followed the hints to add some paths to .zshrc > mkdir build; cd build > cmake .. -- Found the following ICU libraries: -- data (required) -- i18n (required) -- io (required) -- tu (required) -- uc (required) CMake Error at /Applications/CMake.app/Contents/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Failed to find all ICU components (missing: ICU_LIBRARY) (found version "69.1") Call Stack (most recent call first): /Applications/CMake.app/Contents/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE) /Applications/CMake.app/Contents/share/cmake-3.20/Modules/FindICU.cmake:335 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:64 (find_package)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information