diff options
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/meson.build b/meson.build index 9a7b459..057e6d4 100644 --- a/meson.build +++ b/meson.build @@ -7,27 +7,19 @@ inc = include_directories('include') pkg = import('pkgconfig') -if get_option('gpio') - thread_dep = dependency('threads') -else - thread_dep = [] -endif - -deps = thread_dep - subdir('include') subdir('src') if ((not get_option('static')) and (not get_option('shared'))) - librin = library('rin', sources, version : '0.0.0', include_directories : inc, install : true, dependencies : deps) + librin = library('rin', sources, version : '0.0.0', include_directories : inc, install : true) endif if get_option('static') - librin = static_library('rin', sources, version : '0.0.0', include_directories : inc, install : true, dependencies : deps) + librin = static_library('rin', sources, version : '0.0.0', include_directories : inc, install : true) endif if get_option('shared') - librin = shared_library('rin', sources, version : '0.0.0', include_directories : inc, install : true, dependencies : deps) + librin = shared_library('rin', sources, version : '0.0.0', include_directories : inc, install : true) endif pkg.generate(librin) @@ -42,7 +34,6 @@ if get_option('tests') test('compare floats', test_e, args : ['float', 'comparefloat']) test('compare doubles', test_e, args : ['float', 'comparedouble']) test('diagnostic', test_e, args : ['diagnostic', 'none']) - test('gpio', test_e, args : ['gpio', 'none']) test('time add', test_e, args : ['time', 'add']) test('time subtract', test_e, args : ['time', 'sub']) test('time normalize', test_e, args : ['time', 'normalize']) |