diff --git a/modules/find/FindFFTW.cmake b/modules/find/FindFFTW.cmake
index 5b5b36e689a4ae900f802c97473b65e0fa7d6006..14fbb7d2b94c17ce06ae5747f11642730c6ffdde 100644
--- a/modules/find/FindFFTW.cmake
+++ b/modules/find/FindFFTW.cmake
@@ -767,8 +767,6 @@ if( (NOT PKG_CONFIG_EXECUTABLE) OR
 	message(STATUS "CMAKE_REQUIRED_FLAGS: ${CMAKE_REQUIRED_FLAGS}")
 	message(STATUS "Check in CMakeFiles/CMakeError.log to figure out why it fails")
       endif()
-    else()
-      set(FFTW_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES})
     endif()
     set(CMAKE_REQUIRED_INCLUDES)
     set(CMAKE_REQUIRED_FLAGS)