From c61e26f0289153bb3f31b1359e83095a1338fbd4 Mon Sep 17 00:00:00 2001 From: NishiOwO Date: Mon, 12 Jan 2026 06:04:45 +0900 Subject: [PATCH] yeah --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 37e23d9..dbb7a5a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -152,6 +152,11 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Windows") USE_GDI ) list(APPEND LIBRARIES gdi32) + target_link_options( + Mw + PRIVATE + -static-libgcc + ) else() find_package(PkgConfig) pkg_check_modules(X11 REQUIRED x11)