Skip to content

Commit

Permalink
Fix VC redistributable mismatch crash
Browse files Browse the repository at this point in the history
  • Loading branch information
lilleyse committed Sep 4, 2024
1 parent 79f5561 commit d08ca6c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,8 @@ if(MSVC)
_UNICODE # tell Windows to use the unicode version of string functions, as opposed to ASCII (https://docs.microsoft.com/en-us/windows/win32/learnwin32/working-with-strings)
WIN32_LEAN_AND_MEAN # ignore some unnecessary Windows APIs
NOMINMAX # don't let Windows create macros for MIN and MAX
_SILENCE_CXX17_RESULT_OF_DEPRECATION_WARNING)
_SILENCE_CXX17_RESULT_OF_DEPRECATION_WARNING
_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR # See https://developercommunity.visualstudio.com/t/Visual-Studio-17100-Update-leads-to-Pr/10669759?sort=newest
endif()

if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" OR "${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
Expand Down

0 comments on commit d08ca6c

Please sign in to comment.