From 45cbc4d5508b9cf530ef6ee3d6255cd708c51ff3 Mon Sep 17 00:00:00 2001 From: Ivan Savenko Date: Thu, 3 Aug 2023 15:25:36 +0300 Subject: [PATCH] Added workaround for mingw CI builds failing due to TBB bug --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index fb193b230..0cf681b8d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -279,6 +279,10 @@ if(MINGW OR MSVC) endif(MSVC) if(MINGW) + + # Temporary (?) workaround for failing builds on MinGW CI due to bug in TBB + set(CMAKE_CXX_EXTENSIONS ON) + set(SYSTEM_LIBS ${SYSTEM_LIBS} ole32 oleaut32 ws2_32 mswsock dbghelp bcrypt) # Check for iconv (may be needed for Boost.Locale)