diff options
| author | jacksonmj <mj-pt@jacksonmj.co.uk> | 2013-04-09 23:36:42 (GMT) |
|---|---|---|
| committer | jacksonmj <mj-pt@jacksonmj.co.uk> | 2013-04-09 23:36:42 (GMT) |
| commit | 0787086c8198d5dcc35fcdbead85be2ed8b3c28d (patch) | |
| tree | 9afbfcc1893dd7d8c175322cd55a5011a223e293 | |
| parent | 649e5f2042db49d31cc4e95f056e2313afad1e7b (diff) | |
| download | powder-0787086c8198d5dcc35fcdbead85be2ed8b3c28d.zip powder-0787086c8198d5dcc35fcdbead85be2ed8b3c28d.tar.gz | |
Make --nofft work on other platforms too, it was still linking with -lfftw3f
| -rwxr-xr-x | SConscript | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -100,10 +100,11 @@ if not GetOption("macosx"): else: env.Append(CPPPATH=[GetOption("lua-dir")]) - #Check for FFT lib - if not conf.CheckLib('fftw3f') and not conf.CheckLib('fftw3f-3'): - print "libfftw3f not found or not installed" - raise SystemExit(1) + if not GetOption('nofft'): + #Check for FFT lib + if not conf.CheckLib('fftw3f') and not conf.CheckLib('fftw3f-3'): + print "libfftw3f not found or not installed" + raise SystemExit(1) #Check for Bzip lib if not conf.CheckLib('bz2'): |
