Fixing openssl linkage for shared lib
This commit is contained in:
parent
0337487999
commit
655b1cffd9
@ -189,6 +189,9 @@ if(HAVE_OPEN_SSL)
|
||||
set(HEADER_FILES ${HEADER_FILES}
|
||||
src/ssl/SSLManager.h
|
||||
)
|
||||
set(OPENSSL_LIBRARIES
|
||||
openssl::ssl::shared
|
||||
openssl::crypto::shared)
|
||||
endif()
|
||||
|
||||
find_package(mysql REQUIRED)
|
||||
@ -197,6 +200,7 @@ add_library(TeaSpeak STATIC ${SOURCE_FILES} ${HEADER_FILES})
|
||||
target_link_libraries(TeaSpeak PUBLIC
|
||||
mysql::client::static
|
||||
threadpool::static jsoncpp_lib
|
||||
${OPENSSL_LIBRARIES}
|
||||
tomcrypt::static
|
||||
tommath::static
|
||||
dl
|
||||
|
Loading…
Reference in New Issue
Block a user