[BUILD] Remove IMGUI_USE_STB_SPRINTF for checked builds
This commit is contained in:
@@ -96,10 +96,12 @@ include_directories(SYSTEM
|
|||||||
add_compile_definitions(
|
add_compile_definitions(
|
||||||
VULKAN_HPP_NO_TO_STRING
|
VULKAN_HPP_NO_TO_STRING
|
||||||
IMGUI_DISABLE_DEFAULT_FONT
|
IMGUI_DISABLE_DEFAULT_FONT
|
||||||
IMGUI_USE_STB_SPRINTF
|
|
||||||
USE_CPP17 # Tabulate
|
USE_CPP17 # Tabulate
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# Prevent ASan error from ImGUI
|
||||||
|
add_compile_definitions($<$<NOT:$<CONFIG:Checked>>:IMGUI_USE_STB_SPRINTF>)
|
||||||
|
|
||||||
# Static library define
|
# Static library define
|
||||||
add_compile_definitions(_LIB)
|
add_compile_definitions(_LIB)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user