This is an automated email from the ASF dual-hosted git repository. wwbmmm pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/brpc.git
The following commit(s) were added to refs/heads/master by this push: new fc56be62 add openSSL_ROOT_DIR check on macos (#2716) fc56be62 is described below commit fc56be62655a3fc40158d59d51878a0e5acafded Author: Qx <lqxlu...@qq.com> AuthorDate: Mon Jul 29 10:30:26 2024 +0800 add openSSL_ROOT_DIR check on macos (#2716) --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e8c6909c..d2a140a7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -253,7 +253,7 @@ if(WITH_BORINGSSL) find_package(BoringSSL) include_directories(${BORINGSSL_INCLUDE_DIR}) else() - if(CMAKE_SYSTEM_NAME STREQUAL "Darwin") + if(CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND NOT OPENSSL_ROOT_DIR) set(OPENSSL_ROOT_DIR "/usr/local/opt/openssl" # Homebrew installed OpenSSL ) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org For additional commands, e-mail: dev-h...@brpc.apache.org