Fixed the build with GMX_BUILD_OWN_FFTW terminating with a linker issue.
Fixes #2809
Change-Id: Ie1323601da220bf28d7cb00d33b520b66d9de05f
set(GMX_FFT_ARMPL_FFTW3 1)
set(FFT_STATUS_MESSAGE "Using external FFT library - ARM Performance Library (FFTW3 compatibility mode)")
else()
- set(GMX_FFT_FFTW3 1)
set(FFT_STATUS_MESSAGE "Using external FFT library - FFTW3")
endif()
endif()
+ if (NOT GMX_FFT_ARMPL_FFTW3)
+ set(GMX_FFT_FFTW3 1)
+ endif()
set(FFT_LIBRARIES ${${FFTW}_LIBRARIES})
elseif(${GMX_FFT_LIBRARY} STREQUAL "MKL")