Skip to content
Snippets Groups Projects
Commit 1dacbdec authored by schoen's avatar schoen
Browse files

bug fixed for OpenMP enabling in FFT library

parent 71cba3ac
No related branches found
No related tags found
1 merge request!41due to the changes in the kernel factory the includes and calls in the... (Closes #17)
......@@ -327,7 +327,7 @@ if (Threads_FOUND)
endif ()
endif ()
if (OPENMP_FOUND)
if (ENABLE_OPENMP AND OPENMP_FOUND)
add_library (${fftw3_lib}_omp ${fftw_omp_SOURCE})
target_link_libraries (${fftw3_lib}_omp ${fftw3_lib})
target_link_libraries (${fftw3_lib}_omp ${CMAKE_THREAD_LIBS_INIT})
......
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