Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
Fix build by applying patch from master (#28142)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarret Shook authored Feb 11, 2021
1 parent 58f6883 commit c531bbb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions configurecompiler.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -581,6 +581,9 @@ if (WIN32)
add_compile_options(/ZH:SHA_256) # use SHA256 for generating hashes of compiler processed source files.
add_compile_options(/source-charset:utf-8) # Force MSVC to compile source as UTF-8.

# 5105: Windows SDK headers use 'defined' operator in some macros
add_compile_options(/wd4291 /wd5105)

if (CLR_CMAKE_PLATFORM_ARCH_I386)
add_compile_options(/Gz)
endif (CLR_CMAKE_PLATFORM_ARCH_I386)
Expand Down

0 comments on commit c531bbb

Please sign in to comment.