From 1161540b219ca4fbbe4d84320519695f760a11e1 Mon Sep 17 00:00:00 2001 From: David McCloskey Date: Fri, 15 Jul 2022 14:20:17 -0500 Subject: [PATCH] Disabling tracy build support for non-Windows host platforms. --- meson.build | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/meson.build b/meson.build index 30728e59..1d4ea850 100644 --- a/meson.build +++ b/meson.build @@ -35,6 +35,12 @@ else enable_trace = enable_trace == 'true' endif +# Please see https://github.com/wolfpld/tracy/pull/428. +# Wine probably does not support the required features for Tracy. +if host_machine.system() != 'windows' and enable_tracy + error('Tracy is supported only when building on Windows.') +endif + if vkd3d_platform != 'windows' and enable_d3d12 error('Standalone D3D12 is only supported on Windows.') endif