diff --git a/cmake/Deps_Unix.cmake b/cmake/Deps_Unix.cmake index e9de93ea..f7bb4b80 100644 --- a/cmake/Deps_Unix.cmake +++ b/cmake/Deps_Unix.cmake @@ -6,7 +6,8 @@ if (APPLE) # libzim depends on ICU, but the ICU from homebrew is "key-only", we need to manually prioritize it # See `brew info icu4c` if this no longer works - set(ENV{PKG_CONFIG_PATH} "$ENV{PKG_CONFIG_PATH}:/usr/local/opt/icu4c/lib/pkgconfig:/opt/homebrew/opt/icu4c/lib/pkgconfig") + # Note: Remove icu4c@75 if it fails again + set(ENV{PKG_CONFIG_PATH} "$ENV{PKG_CONFIG_PATH}:/usr/local/opt/icu4c@75/lib/pkgconfig:/opt/homebrew/opt/icu4c@75/lib/pkgconfig:/usr/local/opt/icu4c/lib/pkgconfig:/opt/homebrew/opt/icu4c/lib/pkgconfig") endif () target_include_directories(${GOLDENDICT} PRIVATE @@ -99,4 +100,4 @@ endif () if (USE_SYSTEM_TOML) find_package(tomlplusplus) target_link_libraries(${GOLDENDICT} PRIVATE tomlplusplus::tomlplusplus) -endif () \ No newline at end of file +endif ()