mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-14 02:27:09 -07:00
CMake: Fix header inclusion in autogenerated files
This commit is contained in:
parent
a22f921941
commit
c40da7a5dd
1 changed files with 5 additions and 3 deletions
|
@ -192,7 +192,7 @@ add_library(qbt_gui STATIC
|
|||
torrentcreatordialog.ui
|
||||
trackerentriesdialog.ui
|
||||
updownratiodialog.ui
|
||||
|
||||
|
||||
# resources
|
||||
about.qrc
|
||||
)
|
||||
|
@ -203,12 +203,12 @@ endif()
|
|||
|
||||
if (UNIX AND Qt5DBus_FOUND)
|
||||
target_link_libraries(qbt_gui PRIVATE Qt5::DBus)
|
||||
|
||||
|
||||
target_sources(qbt_gui PRIVATE
|
||||
qtnotify/notifications.h
|
||||
qtnotify/notifications.cpp
|
||||
)
|
||||
|
||||
|
||||
find_package(X11)
|
||||
if (X11_FOUND)
|
||||
target_sources(qbt_gui PRIVATE
|
||||
|
@ -218,6 +218,8 @@ if (UNIX AND Qt5DBus_FOUND)
|
|||
endif()
|
||||
endif()
|
||||
|
||||
target_include_directories(qbt_gui PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
target_link_libraries(qbt_gui
|
||||
PRIVATE
|
||||
qbt_base
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue