This is an automated email from the ASF dual-hosted git repository.

xyz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-client-cpp.git


The following commit(s) were added to refs/heads/main by this push:
     new 6deaaf5  Removed extra call of `find_package(OpenSSL)` (#30)
6deaaf5 is described below

commit 6deaaf585981cd489b6be54fc4cb3cd61d3795d3
Author: Matteo Merli <[email protected]>
AuthorDate: Sun Oct 9 10:53:22 2022 -0700

    Removed extra call of `find_package(OpenSSL)` (#30)
    
    ### Motivation
    
    There is an extra call to `find_package(OpenSSL)` that will make cmake to 
fail on MacOS since the non-standard paths are not specified yet.
---
 CMakeLists.txt | 1 -
 1 file changed, 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index cd7eaff..f882043 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -124,7 +124,6 @@ add_definitions(-DLOG_CATEGORY_NAME=${LOG_CATEGORY_NAME} 
-DBUILDING_PULSAR -DBOO
 
 set(OPENSSL_ROOT_DIR ${OPENSSL_ROOT_DIR} /usr/lib64/)
 
-find_package(OpenSSL REQUIRED)
 ### This part is to find and keep SSL dynamic libs in 
RECORD_OPENSSL_SSL_LIBRARY and RECORD_OPENSSL_CRYPTO_LIBRARY
 ### After find the libs, will unset related cache, and will not affect another 
same call to find_package.
 if (APPLE)

Reply via email to