From 347f597889ba24f8a7d886d7ff68283971dcd451 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Franck=20P=C3=A9rignon?= <franck.perignon@imag.fr>
Date: Wed, 27 Feb 2013 09:04:19 +0000
Subject: [PATCH] Fix bug in setup.py (enable/disable fortran options for
 cmake) bis

---
 HySoP/setup.py.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/HySoP/setup.py.in b/HySoP/setup.py.in
index 4ac918033..81e169d83 100644
--- a/HySoP/setup.py.in
+++ b/HySoP/setup.py.in
@@ -67,6 +67,8 @@ if(enable_fortran is "ON"):
  
     withscales = '@WITH_SCALES@'
     if(withscales is "ON"):
+        if(withfftw is "OFF"):
+            fortran_src.append(fortran_dir+'parameters.f90')
         fortran_src.append(fortran_dir+'scales2py.f90')
 
     options = [('F2PY_REPORT_ON_ARRAY_COPY', '1')]
-- 
GitLab