Browse Source

CMake: Fix header inclusion in autogenerated files

adaptive-webui-19844
Vladimir Golovnev (Glassez) 5 years ago
parent
commit
c40da7a5dd
No known key found for this signature in database
GPG Key ID: 52A2C7DEE2DFA6F7
  1. 8
      src/gui/CMakeLists.txt

8
src/gui/CMakeLists.txt

@ -192,7 +192,7 @@ add_library(qbt_gui STATIC @@ -192,7 +192,7 @@ add_library(qbt_gui STATIC
torrentcreatordialog.ui
trackerentriesdialog.ui
updownratiodialog.ui
# resources
about.qrc
)
@ -203,12 +203,12 @@ endif() @@ -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) @@ -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…
Cancel
Save