mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 05:38:46 -05:00
parent
49366d0455
commit
f00f9bbeb9
@ -34,12 +34,6 @@
|
|||||||
#
|
#
|
||||||
# $Id: FindFFTW3.cmake 15918 2010-06-25 11:12:42Z loose $
|
# $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.
|
# Use double precision by default.
|
||||||
if (FFTW3_FIND_COMPONENTS MATCHES "^$")
|
if (FFTW3_FIND_COMPONENTS MATCHES "^$")
|
||||||
set (_components double)
|
set (_components double)
|
||||||
@ -81,7 +75,7 @@ set (_check_list)
|
|||||||
foreach (_lib ${_libraries})
|
foreach (_lib ${_libraries})
|
||||||
string (TOUPPER ${_lib} _LIB)
|
string (TOUPPER ${_lib} _LIB)
|
||||||
find_library (${_LIB}_LIBRARY NAMES ${_lib} ${_lib}-3
|
find_library (${_LIB}_LIBRARY NAMES ${_lib} ${_lib}-3
|
||||||
PATH_SUFFIXES lib)
|
HINTS ${FFTW3_ROOT_DIR} PATH_SUFFIXES lib)
|
||||||
mark_as_advanced (${_LIB}_LIBRARY)
|
mark_as_advanced (${_LIB}_LIBRARY)
|
||||||
list (APPEND FFTW3_LIBRARIES ${${_LIB}_LIBRARY})
|
list (APPEND FFTW3_LIBRARIES ${${_LIB}_LIBRARY})
|
||||||
list (APPEND _check_list ${_LIB}_LIBRARY)
|
list (APPEND _check_list ${_LIB}_LIBRARY)
|
||||||
|
Loading…
Reference in New Issue
Block a user