CMake: Fix dbus build after dbus library detection update
Change-Id: If4d773136b1aa01204e012c6900458673a4c5670 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
5ec3baa67a
commit
cc141cc5c6
@ -60,10 +60,18 @@ set_source_files_properties(qdbusmarshaller.cpp
|
|||||||
extend_target(DBus CONDITION QT_FEATURE_dbus_linked
|
extend_target(DBus CONDITION QT_FEATURE_dbus_linked
|
||||||
DEFINES
|
DEFINES
|
||||||
QT_LINKED_LIBDBUS
|
QT_LINKED_LIBDBUS
|
||||||
LIBRARIES
|
PUBLIC_LIBRARIES # special case
|
||||||
dbus-1
|
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
|
extend_target(DBus CONDITION WIN32
|
||||||
LIBRARIES
|
LIBRARIES
|
||||||
advapi32
|
advapi32
|
||||||
|
Loading…
x
Reference in New Issue
Block a user