mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-24 01:24:20 +00:00
meson: don't error out if sidplay library is not found
This commit is contained in:
parent
27b77f93b5
commit
0267575e79
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ if add_languages('cpp')
|
||||||
void somefunc (void) {
|
void somefunc (void) {
|
||||||
sidTune tune = sidTune(0);
|
sidTune tune = sidTune(0);
|
||||||
}'''
|
}'''
|
||||||
sidplay_dep = cxx.find_library('sidplay')
|
sidplay_dep = cxx.find_library('sidplay', required: false)
|
||||||
if sidplay_dep.found()
|
if sidplay_dep.found()
|
||||||
have_sidplay = cxx.compiles(sid_code, dependencies: sidplay_dep, name : 'sidplay')
|
have_sidplay = cxx.compiles(sid_code, dependencies: sidplay_dep, name : 'sidplay')
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue