From d985e7b7b732f9c551db5c528bab9fb4e436ba2e Mon Sep 17 00:00:00 2001 From: Tim Eves Date: Wed, 5 Dec 2018 17:36:30 +0700 Subject: [PATCH] Add explanatory comments to disabling kmcomp --- common/engine/keyboardprocessor/tests/unit/kmx/meson.build | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/common/engine/keyboardprocessor/tests/unit/kmx/meson.build b/common/engine/keyboardprocessor/tests/unit/kmx/meson.build index 6b3bebf2da..47e4ba5a70 100644 --- a/common/engine/keyboardprocessor/tests/unit/kmx/meson.build +++ b/common/engine/keyboardprocessor/tests/unit/kmx/meson.build @@ -59,6 +59,11 @@ else wine = find_program('wine', required: false) kmcomp_cmd = [wine, kmcomp] if not wine.found() + # We assign the unfound wine external program object to kmcomp + # to cause the kmcomp object to fail too, as without wine we + # cannot execute kmcomp.exe on non-Windows systems. + # NOTE: a disabler() would be ideal here, but we need to support + # pre 0.45 versions of meson. kmcomp = wine endif endif