Depend on OpenSSL::Crypto and OpenSSL::SSL
Maybe only one is strictly required, but the list of headers used in ns_turn_openssl.h includes things from both.
This commit is contained in:
parent
85c85ab34c
commit
832f11331f
@ -37,6 +37,11 @@ if(hiredis_FOUND)
|
||||
else()
|
||||
list(APPEND COMMON_DEFINED TURN_NO_HIREDIS)
|
||||
endif()
|
||||
|
||||
find_package(OpenSSL REQUIRED Crypto SSL)
|
||||
list(APPEND COMMON_LIBS OpenSSL::Crypto)
|
||||
list(APPEND COMMON_LIBS OpenSSL::SSL)
|
||||
|
||||
message("COMMON_LIBS:${COMMON_LIBS}")
|
||||
|
||||
add_library(${PROJECT_NAME} ${SOURCE_FILES} ${HEADER_FILES})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user