This PR removes CMake warnings like the following, which are polluting the output quite a bit.
CMake Warning (dev) at /home/lbertag/workdir/utils/cmake/cmake-install/share/cmake-3.27/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to `find_package_handle_standard_args` (PnetCDF_C)
does not match the name of the calling package (PnetCDF). This can lead to
problems in calling code that expects `find_package` result variables
(e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
/home/lbertag/workdir/scream/scream-src/master/externals/scorpio/cmake/LibFind.cmake:302 (find_package_handle_standard_args)
/home/lbertag/workdir/scream/scream-src/master/externals/scorpio/cmake/FindPnetCDF.cmake:51 (find_package_component)
/home/lbertag/workdir/scream/scream-src/master/externals/scorpio/src/clib/CMakeLists.txt:96 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
@jayeshkrishna , following your comment in #561, I recreated the branch anew, with just a single commit, to make it more self-contained. Let me know if you still think it should be massaged/polished.
This PR removes CMake warnings like the following, which are polluting the output quite a bit.
@jayeshkrishna , following your comment in #561, I recreated the branch anew, with just a single commit, to make it more self-contained. Let me know if you still think it should be massaged/polished.