kdepim-runtime: improve search for kimaptest
AbandonedPublic

Authored by winterz on Aug 23 2017, 4:22 PM.

Details

Reviewers
dvratil
Summary

The current cmake code will search in system paths for the kimaptest includes and library.
The patch gives cmake a hint to look in the installed location first.

Test Plan

Build with gcc and clang ok.
finds the includes and library in installation location now rather than the version provided by the distro.

I suppose another solution is to remove the associated distro package, but that doesn't seem right to me.

Diff Detail

Repository
R44 KDE PIM Runtime
Lint
Lint Skipped
Unit
Unit Tests Skipped
winterz created this revision.Aug 23 2017, 4:22 PM
Restricted Application added a project: KDE PIM. · View Herald TranscriptAug 23 2017, 4:22 PM
Restricted Application added a subscriber: KDE PIM. · View Herald Transcript
dvratil accepted this revision.Aug 23 2017, 9:47 PM

Ideally, KIMAP would export KF5::KIMAPTest as a target so we wouldn't have to do find_path()....

This revision is now accepted and ready to land.Aug 23 2017, 9:47 PM

right, the target export is a much better idea. I'll try to implement that.

winterz abandoned this revision.Aug 25 2017, 1:23 PM