Commit 4b49a7d6 authored by David Rohr's avatar David Rohr
Browse files

change fftw search in cmake

parent 8c3c729b
...@@ -116,7 +116,11 @@ if (CUDA_FOUND) ...@@ -116,7 +116,11 @@ if (CUDA_FOUND)
target_link_libraries(bioEM ${CUDA_CUDA_LIBRARY}) target_link_libraries(bioEM ${CUDA_CUDA_LIBRARY})
endif() endif()
target_link_libraries(bioEM -L${FFTW_LIBDIR} -lfftw3 -lfftw3f) if (FFTWF_LIBRARIES)
target_link_libraries(bioEM ${FFTWF_LIBRARIES})
else()
target_link_libraries(bioEM -L${FFTW_LIBDIR} -lfftw3 -lfftw3f)
endif()
target_link_libraries(bioEM -L${Boost_LIBRARY_DIRS} -lboost_program_options) target_link_libraries(bioEM -L${Boost_LIBRARY_DIRS} -lboost_program_options)
if (MPI_FOUND) if (MPI_FOUND)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment