From 5a35cef4b0d9619db72832889fb02b444c690236 Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Tue, 21 Nov 2017 13:56:29 +0100 Subject: [PATCH] remove static FFTW library as strict dependency --- CMakeLists.txt | 1 + cmake/modules/FindFFTW3F.cmake | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ad478f047..a21ed4fa9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -103,6 +103,7 @@ else(MKL_FOUND) else(BUILD_STATIC) set(FFT_LIBRARIES "${FFTW3F_LIBRARIES}") endif(BUILD_STATIC) + message(STATUS "FFT_LIBRARIES: " ${FFT_LIBRARIES}) endif(FFTW3F_FOUND) endif(MKL_FOUND) diff --git a/cmake/modules/FindFFTW3F.cmake b/cmake/modules/FindFFTW3F.cmake index ef7bc1397..b699182f0 100644 --- a/cmake/modules/FindFFTW3F.cmake +++ b/cmake/modules/FindFFTW3F.cmake @@ -39,6 +39,6 @@ include(FindPackageHandleStandardArgs) # handle the QUIETLY and REQUIRED arguments and set FFTW3F_FOUND to TRUE # if all listed variables are TRUE find_package_handle_standard_args(fftw3f DEFAULT_MSG - FFTW3F_LIBRARY FFTW3F_STATIC_LIBRARY FFTW3F_INCLUDE_DIR) + FFTW3F_LIBRARY FFTW3F_INCLUDE_DIR) mark_as_advanced(FFTW3F_INCLUDE_DIR FFTW3F_STATIC_LIBRARY FFTW3F_LIBRARY )