Skip to content

Commit

Permalink
Adding libfftw3_threads to meson libs
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaem committed Aug 14, 2024
1 parent b95de4a commit e9e30a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/bin/meson.build
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
prefix = get_option('prefix')
lib_dir = prefix / get_option('libdir')
message(lib_dir)
l2c = executable('l2c',
'l2c.c',
include_directories : '../C/',
Expand Down
4 changes: 3 additions & 1 deletion src/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ if acc == '1'
else
omp = dependency('openmp', required : false)
cblas = dependency('openblas')
deps = [cblas, fftw, omp]
message(get_option('libdir'))
fftwt = c.find_library('fftw3_threads', dirs : get_option('libdir'))
deps = [cblas, fftw, fftwt, omp]
if omp.found()
add_global_arguments(['-DOMP'], language : 'c')
endif
Expand Down

0 comments on commit e9e30a4

Please sign in to comment.