[cmake] RP_FindQt[56]andKF[56].cmake: Revert the KDEInstallDirs change.

It broke the CodeCov and CodeQL builds for some reason.

Also, check for KDEInstallDirs6 for KF6.
KDEInstallDirs is a synonym for KDEInstallDirs5.
This commit is contained in:
David Korth 2025-01-07 19:55:01 -05:00
parent 29ce1c8393
commit 27833cc8b0
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ MACRO(FIND_QT5_AND_KF5)
# Include KF5 CMake modules.
LIST(APPEND CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
#INCLUDE(KDEInstallDirs)
INCLUDE(KDEInstallDirs)
INCLUDE(KDECMakeSettings)
# Find Qt5.

View File

@ -23,7 +23,7 @@ MACRO(FIND_QT6_AND_KF6)
# Include KF6 CMake modules.
LIST(APPEND CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
#INCLUDE(KDEInstallDirs6)
INCLUDE(KDEInstallDirs6)
INCLUDE(KDECMakeSettings)
# Find Qt6.