mirror of
https://github.com/love2d/megasource.git
synced 2026-08-12 08:30:59 +02:00
SDL: disable buffer security checks since it requires linking with the CRT.
This commit is contained in:
@@ -1084,7 +1084,8 @@ elseif(WINDOWS)
|
||||
set(SDL_CFLAGS "${SDL_CFLAGS} -Dmain=SDL_main")
|
||||
list(APPEND SDL_LIBS "-lmingw32" "-lSDL2main" "-mwindows")
|
||||
elseif(MSVC)
|
||||
add_definitions(/arch:SSE)
|
||||
# Avoids linker errors, since we don't link with the CRT
|
||||
add_definitions(/arch:SSE /GS-)
|
||||
endif()
|
||||
elseif(APPLE)
|
||||
# TODO: rework this for proper MacOS X, iOS and Darwin support
|
||||
|
||||
Reference in New Issue
Block a user