# #FFTW - Fastest Fourier Transform in the West # if (WIN32) ExternalProject_Add ( fftw PREFIX ${CMAKE_INSTALL_PREFIX} BUILD_IN_SOURCE 1 #When running configure, the current directory must be the source directory URL https://dl.dropboxusercontent.com/u/103823789/fftw-3.3.2-dll32.zip URL_MD5 9944137455dfd4be8005342afa90b27f UPDATE_COMMAND "" CONFIGURE_COMMAND "" BUILD_COMMAND "" INSTALL_COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/install_fftw.cmd ) endif (WIN32) if (UNIX) ExternalProject_Add ( fftw PREFIX ${CMAKE_INSTALL_PREFIX} BUILD_IN_SOURCE 1 #When running configure, the current directory must be the source directory URL http://www.fftw.org/fftw-3.3.2.tar.gz URL_MD5 6977ee770ed68c85698c7168ffa6e178 UPDATE_COMMAND "" CONFIGURE_COMMAND ./configure --prefix= --enable-float BUILD_COMMAND make INSTALL_COMMAND make install ) endif (UNIX)