Disabling tracy build support for non-Windows host platforms.

This commit is contained in:
David McCloskey 2022-07-15 14:20:17 -05:00
parent 5e2306c6e8
commit 1161540b21
1 changed files with 6 additions and 0 deletions

View File

@ -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