mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-07-09 02:39:42 +00:00
cmake: disable MSVC RUNTIME CHECKS for no-libc shared SDL2 library
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user