Commit 867e52d3 authored by Davis King's avatar Davis King

Fixed cmake file so that the "use fftw" option actually causes the

build to use fftw.
parent 28a0d860
...@@ -379,6 +379,12 @@ if (NOT TARGET dlib) ...@@ -379,6 +379,12 @@ if (NOT TARGET dlib)
remove_global_define(DLIB_JPEG_SUPPORT) remove_global_define(DLIB_JPEG_SUPPORT)
endif() endif()
if (DLIB_LINK_WITH_FFTW AND NOT DLIB_ISO_CPP_ONLY)
add_global_define(DLIB_USE_FFTW)
else()
remove_global_define(DLIB_USE_FFTW)
endif()
if (DLIB_USE_BLAS AND blas_found) if (DLIB_USE_BLAS AND blas_found)
add_global_define(DLIB_USE_BLAS) add_global_define(DLIB_USE_BLAS)
......
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