From 47216c8a73d77e7431ec536fb3e251aed06cc420 Mon Sep 17 00:00:00 2001 From: Mark Gillard Date: Mon, 25 Oct 2021 22:15:23 +0300 Subject: [PATCH] fix meson build script breaking with meson 0.60.0 (fixes #121) --- meson.build | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/meson.build b/meson.build index 470ec3d..0baaf2b 100644 --- a/meson.build +++ b/meson.build @@ -24,10 +24,10 @@ project( ####################################################################################################################### compiler = meson.get_compiler('cpp') -message(['target cpu_family', host_machine.cpu_family()]) -message(['target cpu', host_machine.cpu()]) -message(['target system', host_machine.system()]) -message(['target endian', host_machine.endian()]) +message('target cpu_family: @0@'.format(host_machine.cpu_family())) +message('target cpu: @0@'.format(host_machine.cpu())) +message('target system: @0@'.format(host_machine.system())) +message('target endian: @0@'.format(host_machine.endian())) is_gcc = compiler.get_id() == 'gcc' is_clang = compiler.get_id() == 'clang' @@ -46,10 +46,10 @@ include_dirs = include_directories('include', 'external') overrides = [] additional_arguments = [] -message(['is_release', is_release]) -message(['is_windows', is_windows]) -message(['is_x64', is_x64]) -message(['has_exceptions', has_exceptions]) +message('is_release: @0@'.format(is_release)) +message('is_windows: @0@'.format(is_windows)) +message('is_x64: @0@'.format(is_x64)) +message('has_exceptions: @0@'.format(has_exceptions)) # compiler argument references: # msvc: https://docs.microsoft.com/en-us/cpp/build/reference/compiler-options-listed-alphabetically?view=vs-2019