mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-22 19:45:40 +00:00
Applied 0004-Define-crt-macros.patch.txt from vcpkg ports
This commit is contained in:
parent
fa50597055
commit
0c19602118
|
@ -627,6 +627,11 @@ if(USE_GCC OR USE_CLANG)
|
|||
endif()
|
||||
endif()
|
||||
endif()
|
||||
if(MSVC)
|
||||
target_compile_definitions(sdl-build-options INTERFACE "-D_CRT_SECURE_NO_DEPRECATE")
|
||||
target_compile_definitions(sdl-build-options INTERFACE "-D_CRT_NONSTDC_NO_DEPRECATE")
|
||||
target_compile_definitions(sdl-build-options INTERFACE "-D_CRT_SECURE_NO_WARNINGS")
|
||||
endif()
|
||||
|
||||
if(SDL_ASSEMBLY)
|
||||
if(USE_GCC OR USE_CLANG)
|
||||
|
|
Loading…
Reference in a new issue