129d8e89b9
Fixes build failure in StickerCommands.cxx.
24 lines
441 B
Meson
24 lines
441 B
Meson
if enable_database
|
|
sqlite_dep = dependency('sqlite3', version: '>= 3.7.3', required: get_option('sqlite'))
|
|
else
|
|
sqlite_dep = dependency('', required: false)
|
|
endif
|
|
|
|
conf.set('ENABLE_SQLITE', sqlite_dep.found())
|
|
if not sqlite_dep.found()
|
|
subdir_done()
|
|
endif
|
|
|
|
sqlite = static_library(
|
|
'sqlite',
|
|
'Error.cxx',
|
|
include_directories: inc,
|
|
dependencies: [
|
|
sqlite_dep,
|
|
],
|
|
)
|
|
|
|
sqlite_dep = declare_dependency(
|
|
link_with: sqlite,
|
|
)
|