diff --git a/CMakeLists.txt b/CMakeLists.txt index 9a057cae..1d8c8585 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -147,7 +147,11 @@ endif () if (FFTW) message(STATUS "Building with fftw3 support") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DPIP_FFTW") - list(APPEND LIBS fftw3-3 fftw3f-3 fftw3l-3) + if (WIN32) + list(APPEND LIBS fftw3-3 fftw3f-3 fftw3l-3) + else () + list(APPEND LIBS fftw3 fftw3f fftw3l) + endif () else () message(STATUS "Building without fftw3 support") endif ()