forked from blue/squawk
build: add OpenSSL dependency
This commit is contained in:
parent
bbeeee4c8a
commit
bb2ce750c8
@ -23,6 +23,7 @@ option(WITH_KIO "Build KIO support module" ON)
|
|||||||
# Dependencies
|
# Dependencies
|
||||||
## Qt
|
## Qt
|
||||||
find_package(Qt5 COMPONENTS Widgets DBus Gui Xml Network Core REQUIRED)
|
find_package(Qt5 COMPONENTS Widgets DBus Gui Xml Network Core REQUIRED)
|
||||||
|
target_link_libraries(squawk PRIVATE Qt5::Core Qt5::Widgets Qt5::DBus Qt5::Network Qt5::Gui Qt5::Xml)
|
||||||
|
|
||||||
## QXmpp
|
## QXmpp
|
||||||
if (SYSTEM_QXMPP)
|
if (SYSTEM_QXMPP)
|
||||||
@ -81,10 +82,13 @@ endif ()
|
|||||||
|
|
||||||
## LMDB
|
## LMDB
|
||||||
find_package(LMDB REQUIRED)
|
find_package(LMDB REQUIRED)
|
||||||
|
|
||||||
# Linking
|
|
||||||
target_link_libraries(squawk PRIVATE Qt5::Core Qt5::Widgets Qt5::DBus Qt5::Network Qt5::Gui Qt5::Xml)
|
|
||||||
target_link_libraries(squawk PRIVATE lmdb)
|
target_link_libraries(squawk PRIVATE lmdb)
|
||||||
|
|
||||||
|
# OpenSSL
|
||||||
|
find_package(OpenSSL REQUIRED)
|
||||||
|
target_link_libraries(squawk PRIVATE OpenSSL::Crypto)
|
||||||
|
|
||||||
|
# Misc
|
||||||
target_link_libraries(squawk PRIVATE simpleCrypt)
|
target_link_libraries(squawk PRIVATE simpleCrypt)
|
||||||
target_link_libraries(squawk PRIVATE uuid)
|
target_link_libraries(squawk PRIVATE uuid)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user