meson: orc-test is not required

This is especially never available on iOS.
This commit is contained in:
Nirbheek Chauhan 2019-01-31 15:23:43 +05:30
parent fe7885b13e
commit ef118bd56e

View file

@ -212,9 +212,8 @@ if have_orcc
# FIXME: there should really just be a separate orc-test-0.4.pc file for this
if orc_dep.type_name() == 'pkgconfig'
orc_test_dep = cc.find_library('orc-test-0.4', required : false)
endif
if not orc_test_dep.found()
orc_test_dep = dependency('', fallback: ['orc', 'orc_test_dep'])
else
orc_test_dep = dependency('', fallback: ['orc', 'orc_test_dep'], required: false)
endif
endif