give netcdf a finder

Authored by sitter on Apr 29 2019, 9:55 AM.

Description

give netcdf a finder

Summary:
netcdf may be built with either cmake or autotools. as it turns out the
autotools install will not have a cmake config, so finding it exclusively
via the config is not possible.

instead use a finder which wraps a find_package(config) call and fall
back to manual finding iff the config isn't found.

the finder defines the same target as the config would, making them
interchangeable.

Test Plan: builds with both operation modes

Reviewers: sgerlach

Reviewed By: sgerlach

Subscribers: kde-edu

Tags: KDE Edu

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

Details

Committed
sitterApr 30 2019, 9:37 AM
Reviewer
sgerlach
Differential Revision
D20891: give netcdf a finder
Parents
R262:a4669f8f5f13: Show the "scale content" option in the worksheet dock widget only if no layout…
Branches
Unknown
Tags
Unknown