Commit d904d94a authored by Pilar Cossio's avatar Pilar Cossio
Browse files

FindFFTW works interactive

parent 2a32a106
......@@ -11,8 +11,8 @@ endif()
find_path(FFTW_INCLUDE_DIR "fftw3.h" HINTS ${FFTW_HOME}/include)
find_library(FFTW_LIBRARY "fftw3" HINTS ${FFTW_HOME}/lib )
find_library(FFTW_LIBRARY_MT "fftw3_omp" HINTS ${FFTW_HOME}/lib )
#find_library(FFTW_LIBRARY "fftw3f" HINTS ${FFTW_HOME}/lib )
#find_library(FFTW_LIBRARY_MT "fftw3_omp" HINTS ${FFTW_HOME}/lib )
find_library(FFTW_LIBRARY_F "fftw3f" HINTS ${FFTW_HOME}/lib )
if(NOT FFTW_LIBRARY OR NOT FFTW_INCLUDE_DIR)
if(NOT FFTW_HOME)
......@@ -21,7 +21,8 @@ if(NOT FFTW_LIBRARY OR NOT FFTW_INCLUDE_DIR)
endif()
# set default find_package outcome variables
set(FFTW_LIBRARIES ${FFTW_LIBRARY} ${FFTW_LIBRARY_MT})
set(FFTWF_LIBRARIES ${FFTW_LIBRARY} ${FFTW_LIBRARY_F})
set(FFTW_INCLUDE_DIRS ${FFTW_INCLUDE_DIR})
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
set(FFTWF_LIBRARIES ${FFTWF_LIBRARIES} -L/afs/@cell/common/soft/intel/ics2013/14.0/compiler/lib/intel64/ -lirc -limf)
endif()
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