X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=meson.build;h=69d49f12b956db8adef50f4b3112eabf5db91381;hb=bb7206e3ba4ddf66ec28b55325c83f6336a58ab3;hp=329adcb4d257a685dde5e18259431b7467867dee;hpb=64a9ca956871f12e181011a5d5e5155abe71322d;p=plocate diff --git a/meson.build b/meson.build index 329adcb..69d49f1 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.17-pre') +project('plocate', 'cpp', default_options: ['buildtype=debugoptimized','cpp_std=c++17'], version: '1.1.19-pre') 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))