From 33bf3f61e628e96c2b041c36109d6b636931590c Mon Sep 17 00:00:00 2001 From: fdr400 Date: Mon, 6 Jan 2025 22:45:09 +0300 Subject: [PATCH] Fix MacOS cannot find -lzstd --- cmake/modules/Findlibzstd.cmake | 4 ++++ scripts/docs/en/deps/macos.md | 1 - scripts/docs/en/deps/ubuntu-22.04.md | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/cmake/modules/Findlibzstd.cmake b/cmake/modules/Findlibzstd.cmake index 57cdbf4e8bdc..8115d9acf071 100644 --- a/cmake/modules/Findlibzstd.cmake +++ b/cmake/modules/Findlibzstd.cmake @@ -20,3 +20,7 @@ _userver_module_find_library( ) _userver_module_end() + +if(CMAKE_SYSTEM_NAME MATCHES "Darwin") + add_library(zstd ALIAS libzstd) +endif() diff --git a/scripts/docs/en/deps/macos.md b/scripts/docs/en/deps/macos.md index ad5e00261328..e0058840ea46 100644 --- a/scripts/docs/en/deps/macos.md +++ b/scripts/docs/en/deps/macos.md @@ -1,4 +1,3 @@ -ares boost@1.87 c-ares ccache diff --git a/scripts/docs/en/deps/ubuntu-22.04.md b/scripts/docs/en/deps/ubuntu-22.04.md index 473b9b98d8e7..59df4e13739b 100644 --- a/scripts/docs/en/deps/ubuntu-22.04.md +++ b/scripts/docs/en/deps/ubuntu-22.04.md @@ -29,6 +29,7 @@ libgrpc++1 libgrpc-dev libgtest-dev libhiredis-dev +libicu-dev libidn11-dev libjemalloc-dev libkrb5-dev