From f050ca8dc22438022ee3f79cb9731f91b902a89d Mon Sep 17 00:00:00 2001
From: Florent Pruvost <florent.pruvost@inria.fr>
Date: Fri, 1 Sep 2017 12:56:57 +0200
Subject: [PATCH] fix undesired else

---
 modules/find/FindFFTW.cmake | 2 --
 1 file changed, 2 deletions(-)

diff --git a/modules/find/FindFFTW.cmake b/modules/find/FindFFTW.cmake
index 5b5b36e..14fbb7d 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)
-- 
GitLab