Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannah von Reth <hannah.vonreth@owncloud.com>2021-01-05 19:55:29 +0300
committerHannah von Reth <hannah.vonreth@owncloud.com>2021-01-05 19:55:29 +0300
commit0a380d4edd5ba7da3c58f4b76dabeae4dc0e79d9 (patch)
tree6ee736289e0a024533aa6b4a56492e79a23ae98d /src/gui/CMakeLists.txt
parent1cd21e7ae8113d27aab71f8bccd300ab439a9eff (diff)
parent8620dc8b793dceef3ac21f902baaff69b312af22 (diff)
Merge remote-tracking branch 'origin/2.7' into master
Diffstat (limited to 'src/gui/CMakeLists.txt')
-rw-r--r--src/gui/CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/CMakeLists.txt b/src/gui/CMakeLists.txt
index a8b170e52..cf61cb041 100644
--- a/src/gui/CMakeLists.txt
+++ b/src/gui/CMakeLists.txt
@@ -170,8 +170,10 @@ elseif( WIN32 )
elseif(UNIX AND NOT APPLE )
## handle DBUS for Fdo notifications
find_package(Qt5 COMPONENTS DBus)
- target_link_libraries(owncloudCore PUBLIC Qt5::DBus)
- target_compile_definitions(owncloudCore PUBLIC "USE_FDO_NOTIFICATIONS")
+ if (TARGET Qt5::DBus)
+ target_link_libraries(owncloudCore PUBLIC Qt5::DBus)
+ target_compile_definitions(owncloudCore PUBLIC "USE_FDO_NOTIFICATIONS")
+ endif()
target_sources(owncloudCore PRIVATE folderwatcher_linux.cpp)
endif()