cmake add module for finding fftw3.

also allow debug blender to build with non debug python
This commit is contained in:
Campbell Barton
2011-06-19 08:57:34 +00:00
parent 167bcc2b67
commit def6bcd4e5
3 changed files with 78 additions and 9 deletions

View File

@@ -369,10 +369,10 @@ if(UNIX AND NOT APPLE)
endif()
if(WITH_FFTW3)
set(FFTW3 /usr)
set(FFTW3_INCLUDE_DIRS ${FFTW3}/include)
set(FFTW3_LIBRARIES fftw3)
set(FFTW3_LIBPATH ${FFTW3}/lib)
find_package(Fftw3)
if(NOT FFTW3_FOUND)
set(WITH_FFTW3 OFF)
endif()
endif()
if(WITH_SAMPLERATE)