cmake: disable MSVC RUNTIME CHECKS for no-libc shared SDL2 library

This commit is contained in:
Anonymous Maarten
2026-07-05 02:55:29 +02:00
parent b8b3f5ef20
commit bc518123c7

View File

@@ -3471,6 +3471,7 @@ if(SDL_SHARED)
if(HAS_Q_NO_USE_LIBIRC)
target_compile_options(SDL2 PRIVATE /Q_no-use-libirc)
endif()
set_property(TARGET SDL2 PROPERTY MSVC_RUNTIME_CHECKS "")
endif()
if(APPLE)
# FIXME: Remove SOVERSION in SDL3