We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94a7a27 commit dde3bc4Copy full SHA for dde3bc4
2 files changed
CMakeLists.txt
@@ -62,7 +62,9 @@ endif ()
62
63
# Build configuration - Linux
64
if (UNIX)
65
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O2 -s")
+ if (NOT CMAKE_BUILD_TYPE MATCHES "Debug")
66
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O2 -s")
67
+ endif ()
68
set(CMAKE_SHARED_LINKER_FLAGS "--as-needed")
69
endif ()
70
src/launcher.c
@@ -221,7 +221,7 @@ static void create_window()
221
SDL_WINDOWPOS_UNDEFINED,
222
0,
223
224
- SDL_WINDOW_FULLSCREEN_DESKTOP | SDL_WINDOW_BORDERLESS
+ SDL_WINDOW_FULLSCREEN_DESKTOP
225
);
226
if (window == NULL)
227
log_fatal("Could not create SDL Window\n%s", SDL_GetError());
0 commit comments