Use CMake find_dependency instead of find_package in CMake config file template.
ClosedPublic

Authored by daandemeyer on Aug 16 2019, 3:11 PM.

Details

Summary

find_dependency correctly propagates the QUIET parameter from the original find_package call and is recommended for use in CMake config files as per https://cmake.org/cmake/help/v3.1/module/CMakeFindDependencyMacro.html

Diff Detail

Repository
R39 KTextEditor
Lint
Lint Skipped
Unit
Unit Tests Skipped
daandemeyer created this revision.Aug 16 2019, 3:11 PM
Restricted Application added projects: Kate, Frameworks. · View Herald TranscriptAug 16 2019, 3:11 PM
Restricted Application added subscribers: kde-frameworks-devel, kwrite-devel. · View Herald Transcript
daandemeyer requested review of this revision.Aug 16 2019, 3:11 PM
dhaumann accepted this revision.Aug 17 2019, 6:30 AM
This revision is now accepted and ready to land.Aug 17 2019, 6:30 AM
This revision was automatically updated to reflect the committed changes.