Skip to content

Commit 6deaaf5

Browse files
authored
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.
1 parent a080faa commit 6deaaf5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@ add_definitions(-DLOG_CATEGORY_NAME=${LOG_CATEGORY_NAME} -DBUILDING_PULSAR -DBOO
124124

125125
set(OPENSSL_ROOT_DIR ${OPENSSL_ROOT_DIR} /usr/lib64/)
126126

127-
find_package(OpenSSL REQUIRED)
128127
### This part is to find and keep SSL dynamic libs in RECORD_OPENSSL_SSL_LIBRARY and RECORD_OPENSSL_CRYPTO_LIBRARY
129128
### After find the libs, will unset related cache, and will not affect another same call to find_package.
130129
if (APPLE)

0 commit comments

Comments
 (0)