diff --git a/cmake_modules/Commons.cmake b/cmake_modules/Commons.cmake index 9531cf61468..0a0d3a53117 100644 --- a/cmake_modules/Commons.cmake +++ b/cmake_modules/Commons.cmake @@ -41,7 +41,7 @@ macro(add_dependent_packages_for_redex) if(ENABLE_STATIC) set(Boost_USE_STATIC_LIBS ON) - if(NOT APPLE) + if((NOT APPLE) AND (NOT MINGW)) set(Boost_USE_STATIC_RUNTIME ON) endif() set(Boost_USE_MULTITHREADED ON)