Safeguard against multiple definition of dbus-1 target
Change-Id: Ibba9ce7ce472fe2939386065087f0b07ad811c3f Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Qt CMake Build Bot
This commit is contained in:
parent
225113d59b
commit
a43f2a6caa
@ -2,6 +2,10 @@
|
||||
# Work around that:-/
|
||||
# See https://gitlab.freedesktop.org/dbus/dbus/issues/267 for more information
|
||||
|
||||
if(DBus1_FOUND OR WrapDBus1_FOUND)
|
||||
return()
|
||||
endif()
|
||||
|
||||
if(DEFINED ENV{PKG_CONFIG_DIR})
|
||||
set(__qt_dbus_pcd "$ENV{PKG_CONFIG_DIR}")
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user