Skip to content
Snippets Groups Projects
Commit 7478a372 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

fouriermodel now depends on the gsl (yeah)

parent 11fa7032
No related branches found
No related tags found
No related merge requests found
...@@ -525,14 +525,12 @@ if(HAVE_MESH) ...@@ -525,14 +525,12 @@ if(HAVE_MESH)
endif(HAVE_MESH) endif(HAVE_MESH)
if(ENABLE_FOURIER_MODEL) if(ENABLE_FOURIER_MODEL)
find_library(FFTW3_LIB fftw3) set(FM_REQUIRED FourierModel fftw3 gsl gslcblas)
if(FFTW3_LIB) find_all_libraries(FM_LIBS FM_REQUIRED "" lib)
find_library(FOURIER_MODEL_LIB FourierModel) if(FM_LIBS)
if(FOURIER_MODEL_LIB)
set_config_option(HAVE_FOURIER_MODEL "FourierModel") set_config_option(HAVE_FOURIER_MODEL "FourierModel")
list(APPEND EXTERNAL_LIBRARIES ${FOURIER_MODEL_LIB} ${FFTW3_LIB}) list(APPEND EXTERNAL_LIBRARIES ${FM_LIBS})
endif(FOURIER_MODEL_LIB) endif(FM_LIBS)
endif(FFTW3_LIB)
endif(ENABLE_FOURIER_MODEL) endif(ENABLE_FOURIER_MODEL)
if(ENABLE_MED OR ENABLE_CGNS) if(ENABLE_MED OR ENABLE_CGNS)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment