Skip to content
Snippets Groups Projects
Commit d43c5562 authored by Christoph Junghans's avatar Christoph Junghans
Browse files

cmake: fix typo and added summary for KSPACE package

parent d7992f32
No related branches found
No related tags found
No related merge requests found
......@@ -174,7 +174,7 @@ if(ENABLE_KSPACE)
endif()
find_package(${FFTW} QUIET)
if(${FFTW}_FOUND)
set(FFT "${{FFTW}" CACHE STRING "FFT library for KSPACE package")
set(FFT "${FFTW}" CACHE STRING "FFT library for KSPACE package")
else()
set(FFT "KISSFFT" CACHE STRING "FFT library for KSPACE package")
endif()
......@@ -843,3 +843,6 @@ if(ENABLED_GPU)
message(STATUS "OCL Tune: ${OCL_TUNE}")
endif()
endif()
if(ENABLE_KSPACE)
message(STATUS "Using ${FFT} as FFT")
endif()
......@@ -9,7 +9,7 @@
find_package(PkgConfig)
pkg_check_modules(PC_FFTW3F fftw3f)
find_path(FFTW3F_INCLUDE_DIR fftw3f.h HINTS ${PC_FFTW3F_INCLUDE_DIRS})
find_path(FFTW3F_INCLUDE_DIR fftw3.h HINTS ${PC_FFTW3F_INCLUDE_DIRS})
find_library(FFTW3F_LIBRARY NAMES fftw3f HINTS ${PC_FFTW3F_LIBRARY_DIRS})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment