Skip to content

Commit

Permalink
static libcs on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerboa-app committed Sep 7, 2023
1 parent e52b575 commit 10bf5d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ file(GLOB SRC
)
if (WINDOWS)
add_compile_definitions(WINDOWS)

set(CMAKE_EXE_LINKER_FLAGS "-static-libgcc -static-libstdc++ -static")

if (RELEASE)
# launch as windows, not console app - so cmd does not open as well
Expand Down

0 comments on commit 10bf5d9

Please sign in to comment.