diff options
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/meson.build b/meson.build index 99d1949d..46a1ed45 100644 --- a/meson.build +++ b/meson.build @@ -228,14 +228,13 @@ if gtkdep.found() endif # pattern_sim -# FIXME: restore -#pattern_sim_sources = ['src/pattern_sim.c', 'src/diffraction.c', versionc] -#if opencldep.found() -# pattern_sim_sources += ['src/diffraction-gpu.c', 'src/cl-utils.c'] -#endif -#executable('pattern_sim', pattern_sim_sources, -# dependencies : [mdep, libcrystfeldep, gsldep, hdf5dep, opencldep], -# install : true) +pattern_sim_sources = ['src/pattern_sim.c', 'src/diffraction.c', versionc] +if opencldep.found() + pattern_sim_sources += ['src/diffraction-gpu.c', 'src/cl-utils.c'] +endif +executable('pattern_sim', pattern_sim_sources, + dependencies : [mdep, libcrystfeldep, gsldep, hdf5dep, opencldep], + install : true) # ************************ Testing ************************ |