Fix a D-Bus condition in kcoreaddons
To fix macOS build
This commit is contained in:
parent
9abd685bf4
commit
fecdffbbf4
1 changed files with 1 additions and 1 deletions
2
external/kcoreaddons/CMakeLists.txt
vendored
2
external/kcoreaddons/CMakeLists.txt
vendored
|
|
@ -47,7 +47,7 @@ if (NOT LINUX)
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (TARGET Qt::DBus)
|
if (LINUX AND TARGET Qt::DBus)
|
||||||
set_source_files_properties(${kcoreaddons_src}/io/org.freedesktop.portal.FileTransfer.xml PROPERTIES INCLUDE ${kcoreaddons_src}/io/dbustypes_p.h)
|
set_source_files_properties(${kcoreaddons_src}/io/org.freedesktop.portal.FileTransfer.xml PROPERTIES INCLUDE ${kcoreaddons_src}/io/dbustypes_p.h)
|
||||||
qt_add_dbus_interface(_dbus_SRCS ${kcoreaddons_src}/io/org.freedesktop.portal.FileTransfer.xml org.freedesktop.portal.FileTransfer)
|
qt_add_dbus_interface(_dbus_SRCS ${kcoreaddons_src}/io/org.freedesktop.portal.FileTransfer.xml org.freedesktop.portal.FileTransfer)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue