diff -urN osgocean/CMakeLists.txt.orig osgocean/CMakeLists.txt
--- osgocean/CMakeLists.txt.orig	2022-06-23 15:57:36.551130200 +0200
+++ osgocean/CMakeLists.txt	2022-06-23 16:01:40.761872800 +0200
@@ -94,22 +94,22 @@
   SET(USE_FFTW3 FALSE)
   SET(USE_FFTW3F FALSE)
 ELSEIF(USE_FFTW3F)
-  find_package (fftw3f-3 REQUIRED)
+  find_package (fftw3f REQUIRED)
   MESSAGE(STATUS "Using FFTW3F (single-precision) (GPL) as FFT library.")
 
   ADD_DEFINITIONS(-DUSE_FFTW3F)
-  SET( FFT_INCLUDE_DIR ${FFTW3F-3_INCLUDE_DIR} )
-  SET( FFT_LIBRARY ${FFTW3F-3_LIBRARY} )
+  SET( FFT_INCLUDE_DIR ${FFTW3F_INCLUDE_DIRS} )
+  SET( FFT_LIBRARY ${FFTW3F_LIBRARIES} )
 
   SET(USE_FFTW3 FALSE)
   SET(USE_FFTSS FALSE)
 ELSEIF(USE_FFTW3)
-  find_package (fftw3-3 REQUIRED)
+  find_package (fftw3 REQUIRED)
   MESSAGE(STATUS "Using FFTW3 (double-precision) (GPL) as FFT library.")
 
   ADD_DEFINITIONS(-DUSE_FFTW3)
-  SET( FFT_INCLUDE_DIR ${FFTW3-3_INCLUDE_DIR} )
-  SET( FFT_LIBRARY ${FFTW3-3_LIBRARY} )
+  SET( FFT_INCLUDE_DIR ${FFTW3_INCLUDE_DIRS} )
+  SET( FFT_LIBRARY ${FFTW3_LIBRARIES} )
 
   SET(USE_FFTW3F FALSE)
   SET(USE_FFTSS FALSE)
