Set MANGOHUD_ARCH in meson
@@ -210,6 +210,13 @@ util_files = files(
'src/mesa/util/os_socket.c',
'src/mesa/util/os_time.c',
)
+pre_args += '-DMANGOHUD_ARCH='
+if target_machine.cpu_family() == 'x86_64'
+ pre_args += '-DMANGOHUD_ARCH="64bit"'
+endif
+if target_machine.cpu_family() == 'x86'
+ pre_args += '-DMANGOHUD_ARCH="32bit"'
+endif
subdir('modules/ImGui')
subdir('src')
