D20891: give netcdf a finder

Harald Sitter noreply at phabricator.kde.org
Mon Apr 29 10:55:43 BST 2019


sitter created this revision.
Herald added a project: KDE Edu.
Herald added a subscriber: kde-edu.
sitter requested review of this revision.

REVISION 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

REPOSITORY
  R262 LabPlot

BRANCH
  netcdf-find

REVISION DETAIL
  https://phabricator.kde.org/D20891

AFFECTED FILES
  cmake/FindnetCDF.cmake

To: sitter
Cc: kde-edu, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20190429/ac60de93/attachment.html>


More information about the kde-edu mailing list