Skip to content
Snippets Groups Projects
Commit 215afa71 authored by Franck Pérignon's avatar Franck Pérignon
Browse files

Fix bug in setup.py (enable/disable fortran options for cmake)

parent bb55eb97
No related branches found
No related tags found
No related merge requests found
......@@ -54,10 +54,11 @@ if(enable_fortran is "ON"):
parmes_libdir = ['@CMAKE_BINARY_DIR@/src']
parmeslib = ['@PARMES_LIBRARY_NAME@']
f2py_options = ['--no-lower']
fortran_src = []
withfftw = "@WITH_FFTW@"
if(withfftw is "ON"):
fortran_src = [fortran_dir+'parameters.f90',fortran_dir+'fftw2py.f90']
fortran_src.append(fortran_dir+'parameters.f90')
fortran_src.append(fortran_dir+'fftw2py.f90')
fftwdir = '@FFTWLIB@'
fftwdir = os.path.split(fftwdir)[0]
parmeslib.append('fftw3')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment