From 5174c2f2e06879c36bd59e0702c46c9f6f806d43 Mon Sep 17 00:00:00 2001 From: Adrian <78108584+AdrianCassar@users.noreply.github.com> Date: Wed, 22 Apr 2026 15:51:45 +0100 Subject: [PATCH] [BUILD] Remove IMGUI_USE_STB_SPRINTF for checked builds --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7bd84ceef..92f0bd625 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -96,10 +96,12 @@ include_directories(SYSTEM add_compile_definitions( VULKAN_HPP_NO_TO_STRING IMGUI_DISABLE_DEFAULT_FONT - IMGUI_USE_STB_SPRINTF USE_CPP17 # Tabulate ) +# Prevent ASan error from ImGUI +add_compile_definitions($<$>:IMGUI_USE_STB_SPRINTF>) + # Static library define add_compile_definitions(_LIB)