File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -53,8 +53,7 @@ if (ENABLE_SSL_SUPPORT)
5353 amqp_openssl_bio.c
5454 amqp_openssl_bio.h
5555 )
56- set (SSL_INCLUDE_DIRS ${OPENSSL_INCLUDE_DIR} )
57- set (AMQP_SSL_LIBS ${OPENSSL_LIBRARIES} )
56+ set (AMQP_SSL_LIBS OpenSSL::SSL)
5857 if (APPLE )
5958 # Apple has deprecated OpenSSL in 10.7+. This disables that warning.
6059 set_source_files_properties (${AMQP_SSL_SRCS}
@@ -63,10 +62,10 @@ if (ENABLE_SSL_SUPPORT)
6362
6463 if (WIN32 AND NOT CMAKE_USE_PTHREADS_INIT)
6564 set (AMQP_SSL_SRCS ${AMQP_SSL_SRCS} win32 /threads.h win32 /threads.c)
66- set (SSL_INCLUDE_DIRS ${SSL_INCLUDE_DIRS} win32 )
65+ set (SSL_INCLUDE_DIRS win32 )
6766 else ()
6867 set (AMQP_SSL_SRCS ${AMQP_SSL_SRCS} unix /threads.h)
69- set (SSL_INCLUDE_DIRS ${SSL_INCLUDE_DIRS} unix )
68+ set (SSL_INCLUDE_DIRS unix )
7069 endif ()
7170endif ()
7271
You can’t perform that action at this time.
0 commit comments