[plasma/xdg-desktop-portal-kde] /: Fix cmake using --warn-uninitialized -Werror=dev

Laurent Montel <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit c9c98cf98fbea1a1107e45cc44d5e4bf9e59c39a by Laurent Montel.
Committed on 22/07/2026 at 06:32.
Pushed by mlaurent into branch 'master'.

Fix cmake using --warn-uninitialized -Werror=dev

M  +2    -2    CMakeLists.txt

https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/commit/c9c98cf98fbea1a1107e45cc44d5e4bf9e59c39a

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2d29a7b0..56147e8b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -47,8 +47,8 @@ find_package(Qt6 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS
 )
 find_package(Qt6 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS WaylandClient)
 
-find_package(Qt6GuiPrivate ${REQUIRED_QT_VERSION} REQUIRED NO_MODULE)
-find_package(Qt6PrintSupportPrivate ${REQUIRED_QT_VERSION} REQUIRED NO_MODULE)
+find_package(Qt6GuiPrivate ${QT_MIN_VERSION} REQUIRED NO_MODULE)
+find_package(Qt6PrintSupportPrivate ${QT_MIN_VERSION} REQUIRED NO_MODULE)
 
 find_package(KF6 ${KF6_MIN_VERSION} REQUIRED
     CoreAddons
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.