Skip to content

Commit a165bdf

Browse files
authored
fix: Disabled constexpr mutex constructor to fix Windows build crashes.
Merge pull request #100 from Bonfra04/master
2 parents 6362c17 + af7ad70 commit a165bdf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/bonsoir_windows/windows/CMakeLists.txt

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ cmake_minimum_required(VERSION 3.14)
88
set(PROJECT_NAME "bonsoir_windows")
99
project(${PROJECT_NAME} LANGUAGES CXX)
1010

11+
# Deal with MSVC incompatiblity
12+
add_compile_definitions(_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR)
13+
1114
# This value is used when generating builds using this plugin, so it must
1215
# not be changed
1316
set(PLUGIN_NAME "bonsoir_windows_plugin")

0 commit comments

Comments
 (0)