mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-02 21:52:32 -06:00
CMake: Don't split GUI code into several libraries
This commit is contained in:
@@ -1,11 +1 @@
|
||||
add_library(qbt_qtnotify STATIC
|
||||
# headers
|
||||
notifications.h
|
||||
|
||||
# sources
|
||||
notifications.cpp
|
||||
)
|
||||
|
||||
set_target_properties(qbt_qtnotify PROPERTIES AUTOUIC False AUTORCC False)
|
||||
target_link_libraries(qbt_qtnotify PUBLIC Qt5::DBus)
|
||||
target_include_directories(qbt_qtnotify PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
target_sources(qbt_gui PRIVATE notifications.h notifications.cpp)
|
||||
|
||||
Reference in New Issue
Block a user