Skip to content

Commit

Permalink
fix: Disabled constexpr mutex constructor to fix Windows build crashes.
Browse files Browse the repository at this point in the history
Merge pull request #100 from Bonfra04/master
  • Loading branch information
Skyost authored Aug 9, 2024
2 parents 6362c17 + af7ad70 commit a165bdf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/bonsoir_windows/windows/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit a165bdf

Please sign in to comment.