Skip to content

Commit

Permalink
MSVC: Disable warning 5105 to fix error in winbase.h (#9663)
Browse files Browse the repository at this point in the history
  • Loading branch information
oskirby committed Jun 25, 2024
1 parent 420aca0 commit bf5557a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmake/msvc.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "Clang$")
else()
# /MP -> Compile Files Paraell
# /Zc:preprocessor -> Enable Modern Macros, needed for settingsholder
set(CMAKE_CXX_FLAGS "/MP /Zc:preprocessor")
set(CMAKE_CXX_FLAGS "/MP /Zc:preprocessor /wd5105")
# Enable "edit and continue" when using msvc + debug build
set(CMAKE_CXX_FLAGS_DEBUG "/MTd /ZI /Ob0 /Od /RTC1")
set(CMAKE_CXX_FLAGS_DEBUG "/MTd /ZI /Ob0 /Od /RTC1")
Expand Down

0 comments on commit bf5557a

Please sign in to comment.