meson: Favor warning if cannot find version string

This commit is contained in:
Lzu Tao 2019-01-11 02:34:16 +07:00
parent 4765ad88bd
commit d2288d2cc0

View File

@ -43,7 +43,7 @@ if r.returncode() == 0
message('Project version is now: @0@'.format(lz4_version))
endif
else
message('Cannot find project version in @0@'.format(lz4_h_file))
warning('Cannot find project version in @0@'.format(lz4_h_file))
endif
lz4_libversion = lz4_version