mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +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) {
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue