From 9cc4cb356fceac325cac330cbe6c03ab7ddc72fb Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Thu, 21 Nov 2024 23:42:39 +0100 Subject: [PATCH] CMake: repair KPMcore helper for KF5 (legacy) case --- CMakeModules/KPMcoreHelper.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeModules/KPMcoreHelper.cmake b/CMakeModules/KPMcoreHelper.cmake index 888b4aea4..cdbd2336f 100644 --- a/CMakeModules/KPMcoreHelper.cmake +++ b/CMakeModules/KPMcoreHelper.cmake @@ -36,7 +36,8 @@ if(NOT TARGET calapmcore) if(KPMcore_FOUND) find_package(${qtname} REQUIRED DBus) # Needed for KPMCore - find_package(${kfname} REQUIRED I18n WidgetsAddons) # Needed for KPMCore + find_package(${kfname}I18n REQUIRED) # Needed for KPMCore + find_package(${kfname}WidgetsAddons REQUIRED) # Needed for KPMCore target_link_libraries(calapmcore INTERFACE kpmcore ${qtname}::DBus ${kfname}::I18n ${kfname}::WidgetsAddons) target_include_directories(calapmcore INTERFACE ${KPMCORE_INCLUDE_DIR})