Skip to content

Commit

Permalink
disable constexpr mutex constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
skallweitNV committed Aug 20, 2024
1 parent e92dcc3 commit e696525
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ target_compile_definitions(sgl
$<$<PLATFORM_ID:Windows>:UNICODE> # force character map to unicode
# MSVC C++ library.
$<$<CXX_COMPILER_ID:MSVC>:_USE_MATH_DEFINES>
$<$<CXX_COMPILER_ID:MSVC>:_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR> # disable constexpr constructor for std::mutex
# $<$<CXX_COMPILER_ID:MSVC>:_SCL_SECURE_NO_WARNINGS>
# $<$<CXX_COMPILER_ID:MSVC>:_CRT_SECURE_NO_WARNINGS>
# $<$<CXX_COMPILER_ID:MSVC>:_SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING>
Expand Down

0 comments on commit e696525

Please sign in to comment.