[graphics/okular] /: Remove warning (found by cmake --warn-uninitialized -Werror=dev )

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

Remove warning (found by cmake --warn-uninitialized -Werror=dev )

M  +2    -2    CMakeLists.txt

https://invent.kde.org/graphics/okular/-/commit/b113f95d5d22a433f4d3f010b806a888bb0f46fe

diff --git a/CMakeLists.txt b/CMakeLists.txt
index c590b1c3c..f946d98e5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -16,7 +16,7 @@ set(OKULAR_UI "" CACHE STRING "Which Okular user interface to build. Possible va
 set(FORCE_NOT_REQUIRED_DEPENDENCIES "" CACHE STRING "List (semicolon-separated) of dependencies that will be downgraded from REQUIRED to RECOMMENDED")
 
 find_package(ECM ${KF_REQUIRED_VERSION} CONFIG REQUIRED)
-set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH})
+set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH})
 
 include(ECMInstallIcons)
 include(ECMSetupVersion)
@@ -196,7 +196,7 @@ endif()
 
 if(NOT WIN32 AND NOT ANDROID AND NOT APPLE AND NOT HAIKU)
     if (Qt6Gui_VERSION VERSION_GREATER_EQUAL "6.10.0")
-        find_package(Qt6GuiPrivate ${REQUIRED_QT_VERSION} REQUIRED)
+        find_package(Qt6GuiPrivate ${QT_REQUIRED_VERSION} REQUIRED)
     else()
         find_package(Qt6Gui REQUIRED COMPONENTS Private)
     endif()
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.