release for windows with static librarys

This commit is contained in:
Ilya Vorfolomeev
2025-11-14 16:08:52 +03:00
parent 8b7c7b71bc
commit 4c59fbf722
3 changed files with 10 additions and 13 deletions

View File

@@ -12,6 +12,9 @@ if (ENABLE_GROUND_BUILD)
if(WIN32)
add_definitions(-DWIN32_LEAN_AND_MEAN)
set(EXTRA_LIBS ws2_32)
if (MSVC)
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
endif()
endif()
find_package(SDL2 REQUIRED)