Skip to content

Commit 2a9fb50

Browse files
committed
Use meson as build system
1 parent ac6e9fc commit 2a9fb50

1 file changed

Lines changed: 3 additions & 9 deletions

File tree

meson.build

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,11 @@ c_args = ['-DNDEBUG']
1818
thread_dep = dependency('threads')
1919

2020
cc = meson.get_compiler('c')
21-
mkl_dep = dependency('MKL', method: 'cmake',
22-
modules: ['MKL::MKL'],
23-
cmake_args: [
24-
'-DMKL_ARCH=intel64',
25-
'-DMKL_LINK=sdl',
26-
],
27-
required: true
28-
)
21+
mkl_rt = cc.find_library('mkl_rt', required: true)
22+
mkl_dep = declare_dependency(dependencies: [mkl_rt])
2923

3024
rpath = ''
31-
if host_machine.system() == 'linux'
25+
if host_machine.system() != 'windows'
3226
rpath = '$ORIGIN/../..:$ORIGIN/../../..'
3327
endif
3428

0 commit comments

Comments
 (0)