diff --git a/CMakeLists.txt b/CMakeLists.txt index aafc412..9ca13cb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,6 +23,7 @@ option(WITH_KIO "Build KIO support module" ON) # Dependencies ## Qt 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 if (SYSTEM_QXMPP) @@ -81,10 +82,13 @@ endif () ## LMDB 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) + +# OpenSSL +find_package(OpenSSL REQUIRED) +target_link_libraries(squawk PRIVATE OpenSSL::Crypto) + +# Misc target_link_libraries(squawk PRIVATE simpleCrypt) target_link_libraries(squawk PRIVATE uuid)