diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index e5ca7b0c84c43f0d46a1dd9722bd6cdfe1d1f65e..93a2393761b4e5a1fb72254fbfd5714637aad2bd 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -29,7 +29,7 @@ if ( CMAKE_CUDA_COMPILER ) endif() add_subdirectory( domain_decomposition ) add_subdirectory( executiontree ) -if ( FFTW3_FOUND ) +if ( WALBERLA_BUILD_WITH_FFT AND FFTW3_FOUND ) add_subdirectory( fft ) endif() add_subdirectory( field )