CMake: Allow to build with Qt6

This commit is contained in:
Vladimir Golovnev (Glassez)
2021-03-01 08:38:51 +03:00
parent b51197936b
commit 86b1ac5d7c
5 changed files with 40 additions and 24 deletions

View File

@@ -177,7 +177,7 @@ target_link_libraries(qbt_base
ZLIB::ZLIB
PUBLIC
LibtorrentRasterbar::torrent-rasterbar
Qt5::Core Qt5::Network Qt5::Sql Qt5::Xml
Qt::Core Qt::Network Qt::Sql Qt::Xml
qbt_common_cfg
)
@@ -204,5 +204,5 @@ if (NOT WEBUI)
endif()
if (DBUS)
target_link_libraries(qbt_base PUBLIC Qt5::DBus)
target_link_libraries(qbt_base PUBLIC Qt::DBus)
endif()