msys2 : build static libs by default

This commit is contained in:
Georgi Gerganov
2021-02-27 10:18:36 -08:00
parent 68d77facb2
commit 158ed71323

View File

@@ -27,7 +27,11 @@ if (EMSCRIPTEN)
option(GGWAVE_WASM_SINGLE_FILE "ggwave: embed WASM inside the generated ggwave.js" ON)
else()
set(GGWAVE_SUPPORT_SDL2_DEFAULT ON)
set(BUILD_SHARED_LIBS_DEFAULT ON)
if (MINGW)
set(BUILD_SHARED_LIBS_DEFAULT OFF)
else()
set(BUILD_SHARED_LIBS_DEFAULT ON)
endif()
endif()
# options