From af7ad70eeaf9a9628097e4c269065bdfa9bbff7e Mon Sep 17 00:00:00 2001 From: Bonfra <39456413+Bonfra04@users.noreply.github.com> Date: Fri, 2 Aug 2024 22:06:17 +0200 Subject: [PATCH] Update CMakeLists.txt for github action fix --- packages/bonsoir_windows/windows/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/bonsoir_windows/windows/CMakeLists.txt b/packages/bonsoir_windows/windows/CMakeLists.txt index f4bee08b..a93cac61 100644 --- a/packages/bonsoir_windows/windows/CMakeLists.txt +++ b/packages/bonsoir_windows/windows/CMakeLists.txt @@ -8,6 +8,9 @@ cmake_minimum_required(VERSION 3.14) set(PROJECT_NAME "bonsoir_windows") project(${PROJECT_NAME} LANGUAGES CXX) +# Deal with MSVC incompatiblity +add_compile_definitions(_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR) + # This value is used when generating builds using this plugin, so it must # not be changed set(PLUGIN_NAME "bonsoir_windows_plugin")