From 4cde0df9d927a92ca1327339652dfe609322bbc2 Mon Sep 17 00:00:00 2001 From: Andreas Gampe Date: Mon, 3 Jul 2023 11:05:53 -0700 Subject: [PATCH] Promote "Do not use static boost runtime" (#800) Summary: Pull Request resolved: https://github.com/facebook/redex/pull/800 Promote {D46959547}. Reviewed By: wsanville Differential Revision: D47171356 fbshipit-source-id: f9f17683197a58b0bf0ff14ded50d7aa1eeb41f9 --- cmake_modules/Commons.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake_modules/Commons.cmake b/cmake_modules/Commons.cmake index 9531cf6146..0a0d3a5311 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)