X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=meson.build;h=212b851496e6b5f913214d896516fcfad114302a;hb=068e02eec22686074a5c1e026140b601c8d61ab6;hp=7f4751660b8e8ec39df8a7e5d1b54e8299c83b5b;hpb=4e307280d6eef34742087419577156628ced9498;p=plocate diff --git a/meson.build b/meson.build index 7f47516..212b851 100644 --- a/meson.build +++ b/meson.build @@ -1,4 +1,4 @@ -project('plocate', 'cpp', default_options: ['buildtype=debugoptimized','cpp_std=c++17'], version: '1.1.15-pre') +project('plocate', 'cpp', default_options: ['buildtype=debugoptimized','cpp_std=c++17'], version: '1.1.18') add_project_arguments('-DGROUPNAME="' + get_option('locategroup') + '"', language: 'cpp') add_project_arguments('-DUPDATEDB_CONF="/etc/updatedb.conf"', language: 'cpp') @@ -98,7 +98,7 @@ endif # of calling into that directory to run make, and we're not # replicating their build system, so it has to be manual. pfordir = meson.source_root() + '/TurboPFor-Integer-Compression' -if run_command('[', '-r', pfordir + '/libic.a', ']').returncode() == 0 +if run_command('[', '-r', pfordir + '/libic.a', ']', check: false).returncode() == 0 turbopfordep = declare_dependency( include_directories: include_directories('TurboPFor-Integer-Compression'), dependencies: meson.get_compiler('cpp').find_library('ic', dirs: pfordir))