fix fftw cmake stuff

This commit is contained in:
Gael Guennebaud
2011-11-03 15:33:42 +01:00
parent a594ac3966
commit 94d87abbdb
2 changed files with 4 additions and 4 deletions

View File

@@ -13,12 +13,12 @@ find_path(FFTW_INCLUDES
find_library(FFTWF_LIB NAMES fftw3f PATHS $ENV{FFTWDIR} ${LIB_INSTALL_DIR})
find_library(FFTW_LIB NAMES fftw3 PATHS $ENV{FFTWDIR} ${LIB_INSTALL_DIR})
set(FFTW_LIBRARIES "${FFTWF_LIB} ${FFTW_LIB}" )
set(FFTW_LIBRARIES ${FFTWF_LIB} ${FFTW_LIB} )
find_library(FFTWL_LIB NAMES fftw3l PATHS $ENV{FFTWDIR} ${LIB_INSTALL_DIR})
if(FFTWL_LIB)
set(FFTW_LIBRARIES "${FFTW_LIBRARIES} ${FFTWL_LIB}")
set(FFTW_LIBRARIES ${FFTW_LIBRARIES} ${FFTWL_LIB})
endif()