Skip to content

Silence CMake FFTW3_MPI warning

Michael Kuron requested to merge cmake-fftw into master

Silence the following warning that appeared with CMake 3.17:

CMake Warning (dev) at /opt/local/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message):
  The package name passed to `find_package_handle_standard_args` (FFTW3_MPI)
  does not match the name of the calling package (FFTW3).  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):
  cmake/FindFFTW3.cmake:15 (find_package_handle_standard_args)
  CMakeLists.txt:963 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

Merge request reports