From 0267575e792c30ae4557464af0a61d0055f04860 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Fri, 23 Jun 2017 23:44:18 +0100 Subject: [PATCH] meson: don't error out if sidplay library is not found --- ext/sidplay/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/sidplay/meson.build b/ext/sidplay/meson.build index ebc2a2a..5940ce9 100644 --- a/ext/sidplay/meson.build +++ b/ext/sidplay/meson.build @@ -8,7 +8,7 @@ if add_languages('cpp') void somefunc (void) { sidTune tune = sidTune(0); }''' - sidplay_dep = cxx.find_library('sidplay') + sidplay_dep = cxx.find_library('sidplay', required: false) if sidplay_dep.found() have_sidplay = cxx.compiles(sid_code, dependencies: sidplay_dep, name : 'sidplay') endif -- 2.7.4