Skip to content

Commit

Permalink
cmakelists: Temporarily add UTF-8 fix (REMOVE WHEN UPSTREAM IS FIXED)
Browse files Browse the repository at this point in the history
  • Loading branch information
Morph1984 committed May 11, 2021
1 parent 6bd2de5 commit 8c88150
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Expand Up @@ -157,6 +157,9 @@ if(CMAKE_COMPILER_IS_IAR)
endif(CMAKE_COMPILER_IS_IAR)

if(CMAKE_COMPILER_IS_MSVC)
# Compile with UTF-8 encoding (REMOVE THIS COMMIT ONCE A FIX IS DEPLOYED UPSTREAM)
add_compile_options(/utf-8)

# Strictest warnings, and treat as errors
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /W3")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /WX")
Expand Down

0 comments on commit 8c88150

Please sign in to comment.