Skip to content
Snippets Groups Projects
Commit 5ffa980d authored by Michael Kuron's avatar Michael Kuron :mortar_board:
Browse files

Silence CMake FFTW3_MPI warning

parent 16df5598
No related merge requests found
......@@ -12,6 +12,8 @@ find_library (FFTW3_MPI_LIBRARIES NAMES fftw3_mpi)
# all listed variables are TRUE
include (FindPackageHandleStandardArgs)
find_package_handle_standard_args (FFTW3 DEFAULT_MSG FFTW3_LIBRARIES FFTW3_INCLUDE_DIR)
set(FPHSA_NAME_MISMATCHED 1)
find_package_handle_standard_args (FFTW3_MPI DEFAULT_MSG FFTW3_MPI_LIBRARIES FFTW3_MPI_INCLUDE_DIR)
unset(FPHSA_NAME_MISMATCHED)
mark_as_advanced (FFTW3_LIBRARIES FFTW3_INCLUDE_DIR FFTW3_MPI_LIBRARIES FFTW3_MPI_INCLUDE_DIR)
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment