Fix meson build when libmessaging-menu is available.
Since libmessaging-menu has a either a broken pkg_config file or a dumb VAPI name, we need to detect the library and the VAPI in two steps, then add them both as dependencies.
This commit is contained in:
parent
cba778d6f7
commit
afb236517f
2 changed files with 7 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ libunwind = declare_dependency(
|
|||
)
|
||||
|
||||
libunity = dependency('unity', version: '>= 5.12.0', required: false)
|
||||
libmessagingmenu = dependency('messaging-menu', version: '>= 12.10.2', required: false)
|
||||
libmessagingmenu = meson.get_compiler('c').find_library('libmessaging-menu', required: false)
|
||||
sqlite = dependency('sqlite3')
|
||||
if sqlite.version().version_compare('>= 3.12')
|
||||
if not cc.has_header_symbol('sqlite3.h', 'SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue