summaryrefslogtreecommitdiff
path: root/CMake
diff options
context:
space:
mode:
Diffstat (limited to 'CMake')
-rw-r--r--CMake/Modules/FindFFTW3.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/CMake/Modules/FindFFTW3.cmake b/CMake/Modules/FindFFTW3.cmake
index 10349cb6..999c2ffe 100644
--- a/CMake/Modules/FindFFTW3.cmake
+++ b/CMake/Modules/FindFFTW3.cmake
@@ -34,6 +34,12 @@
#
# $Id: FindFFTW3.cmake 15918 2010-06-25 11:12:42Z loose $
+# Compatibily with old style MinGW packages with no .dll.a files
+# needed since CMake v3.17 because of fix for #20019
+if (MINGW)
+ set (CMAKE_FIND_LIBRARY_SUFFIXES ".dll" ".dll.a" ".a" ".lib")
+endif ()
+
# Use double precision by default.
if (FFTW3_FIND_COMPONENTS MATCHES "^$")
set (_components double)