summaryrefslogtreecommitdiffstats
path: root/src/dbus
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2019-05-07 16:36:43 +0200
committerTobias Hunger <tobias.hunger@qt.io>2019-05-07 15:07:07 +0000
commitcc141cc5c61d086d6938e2c7312ec02e5f79734c (patch)
tree9a5b9fdd7c1edda02595fbd9483400f62ce41b4c /src/dbus
parent5ec3baa67a4d12b63ae11752f498d777e3ea229e (diff)
CMake: Fix dbus build after dbus library detection update
Change-Id: If4d773136b1aa01204e012c6900458673a4c5670 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/dbus')
-rw-r--r--src/dbus/CMakeLists.txt10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/dbus/CMakeLists.txt b/src/dbus/CMakeLists.txt
index 4768460e05..09fcdfd255 100644
--- a/src/dbus/CMakeLists.txt
+++ b/src/dbus/CMakeLists.txt
@@ -60,10 +60,18 @@ set_source_files_properties(qdbusmarshaller.cpp
extend_target(DBus CONDITION QT_FEATURE_dbus_linked
DEFINES
QT_LINKED_LIBDBUS
- LIBRARIES
+ PUBLIC_LIBRARIES # special case
dbus-1
)
+# begin special case:
+extend_target(DBus CONDITION NOT QT_FEATURE_dbus_linked
+ PUBLIC_LIBRARIES
+ dbus-1_nolink
+)
+# end special case:
+
+
extend_target(DBus CONDITION WIN32
LIBRARIES
advapi32