diff --git a/tests/windows-sandbox/CMakeLists.txt b/tests/windows-sandbox/CMakeLists.txt index 522ab307..1786699e 100644 --- a/tests/windows-sandbox/CMakeLists.txt +++ b/tests/windows-sandbox/CMakeLists.txt @@ -5,7 +5,7 @@ if(MSVC) set_property(TARGET sandbox-helper PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded$<$:Debug>") endif() if(MINGW) - target_link_options(sandbox-helper PRIVATE -municode) + target_link_options(sandbox-helper PRIVATE -municode -static) endif() target_link_libraries(sandbox-helper PRIVATE advapi32 ws2_32)