Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++

Fix dbus detection

Luna Lovecraft49858d04aa26
diff --git a/CMakeLists.txt b/CMakeLists.txt
index eeb264eaf9..359514efe2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -908,12 +908,12 @@ if (NOT WIN32 AND NOT APPLE AND NOT ANDROID AND NOT HAIKU)
endif()
find_package(Qt${QT_MAJOR_VERSION}DBus ${MIN_QT_VERSION})
- set_package_properties(Qt5DBus PROPERTIES
+ set_package_properties(Qt${QT_MAJOR_VERSION}DBus PROPERTIES
DESCRIPTION "Qt DBUS integration"
URL "https://www.qt.io/"
TYPE OPTIONAL
PURPOSE "Optionally used to provide a dbus api on Linux")
- macro_bool_to_01(Qt${QT_MAJOR_VERSION}DBUS_FOUND HAVE_QT_DBUS)
+ macro_bool_to_01(Qt${QT_MAJOR_VERSION}DBus_FOUND HAVE_DBUS)
find_package(KF${KF_MAJOR}Crash ${MIN_FRAMEWORKS_VERSION})
macro_bool_to_01(KF${KF_MAJOR}Crash_FOUND HAVE_KCRASH)