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}
|
set(HEADER_FILES ${HEADER_FILES}
|
||||||
src/ssl/SSLManager.h
|
src/ssl/SSLManager.h
|
||||||
)
|
)
|
||||||
|
set(OPENSSL_LIBRARIES
|
||||||
|
openssl::ssl::shared
|
||||||
|
openssl::crypto::shared)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
find_package(mysql REQUIRED)
|
find_package(mysql REQUIRED)
|
||||||
@ -197,6 +200,7 @@ add_library(TeaSpeak STATIC ${SOURCE_FILES} ${HEADER_FILES})
|
|||||||
target_link_libraries(TeaSpeak PUBLIC
|
target_link_libraries(TeaSpeak PUBLIC
|
||||||
mysql::client::static
|
mysql::client::static
|
||||||
threadpool::static jsoncpp_lib
|
threadpool::static jsoncpp_lib
|
||||||
|
${OPENSSL_LIBRARIES}
|
||||||
tomcrypt::static
|
tomcrypt::static
|
||||||
tommath::static
|
tommath::static
|
||||||
dl
|
dl
|
||||||
|
Loading…
Reference in New Issue
Block a user