Bug 467495

Summary: KPim5PkPassQchTargets.cmake not installed in backwards compatible path
Product: [Frameworks and Libraries] kpkpass Reporter: Antonio Rojas <arojas>
Component: generalAssignee: Laurent Montel <montel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.22.80   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.22.90
Sentry Crash Report:

Description Antonio Rojas 2023-03-17 15:17:27 UTC
cmake files are installed to both /usr/lib/cmake/KPim5PkPass/ and /usr/lib/cmake/KPimPkPass/ for backwards compatibility, but KPim5PkPassQchTargets.cmake is not installed to the latter path. This breaks build of kitinerary with QCH enabled:

CMake Error at /usr/lib/cmake/KPimPkPass/KPimPkPassConfig.cmake:58 (include):
  include could not find requested file:

    /usr/lib/cmake/KPimPkPass/KPim5PkPassQchTargets.cmake
Call Stack (most recent call first):
  CMakeLists.txt:55 (find_package)
Comment 1 Antonio Rojas 2023-03-17 19:37:47 UTC
Same issue for kidentitymanagement and libkleo
Comment 2 Laurent Montel 2023-03-21 16:07:44 UTC
I will fix it soon.
Comment 3 Laurent Montel 2023-03-21 16:33:05 UTC
Git commit 5d9772d7680e14b9c1bfaaae7f51a6ebda2e96fd by Laurent Montel.
Committed on 21/03/2023 at 16:32.
Pushed by mlaurent into branch 'release/23.04'.

Fix 467495: KPim5PkPassQchTargets.cmake not installed in backwards compatible path
FIXED-IN: 5.22.90

M  +7    -0    CMakeLists.txt

https://invent.kde.org/pim/kpkpass/commit/5d9772d7680e14b9c1bfaaae7f51a6ebda2e96fd