<table><tr><td style="">sitter created this revision.<br />Herald added a project: KDE Edu.<br />Herald added a subscriber: kde-edu.<br />sitter requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D20891">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>netcdf may be built with either cmake or autotools. as it turns out the<br />
autotools install will not have a cmake config, so finding it exclusively<br />
via the config is not possible.</p>

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

<p>the finder defines the same target as the config would, making them<br />
interchangeable.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>builds with both operation modes</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R262 LabPlot</div></div></div><br /><div><strong>BRANCH</strong><div><div>netcdf-find</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D20891">https://phabricator.kde.org/D20891</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>cmake/FindnetCDF.cmake</div></div></div><br /><div><strong>To: </strong>sitter<br /><strong>Cc: </strong>kde-edu, narvaez, apol<br /></div>