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

Authored by cullmann on Aug 17 2019, 2:50 PM.

Description

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

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

Reviewers: KTextEditor, dhaumann

Reviewed By: KTextEditor, dhaumann

Subscribers: kwrite-devel, kde-frameworks-devel

Tags: KTextEditor, Kate, Frameworks

Differential Revision: https://phabricator.kde.org/D23203