diff --git a/qt/CMakeLists.txt b/qt/CMakeLists.txt index e632f606..3008abda 100644 --- a/qt/CMakeLists.txt +++ b/qt/CMakeLists.txt @@ -154,6 +154,9 @@ else() ../external/glad/src/egl.c) endif() +if(NOT (${CMAKE_SYSTEM_NAME} STREQUAL "Windows")) + set(SDL_UNIX_CONSOLE_BUILD BOOL ON FORCE) +endif() set(SDL_GPU CACHE BOOL OFF FORCE) set(SDL_VIDEO CACHE BOOL OFF FORCE) set(SDL_RENDER CACHE BOOL OFF FORCE)