Skip to content

Commit

Permalink
Fix UTF-8 encoding problem
Browse files Browse the repository at this point in the history
  • Loading branch information
cheongpark committed Sep 7, 2024
1 parent 1a81848 commit 089d018
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ option (BUILD_PERIPHERY "BUILD_PERIPHERY" OFF)
include (${CMAKE_CURRENT_SOURCE_DIR}/cmake/macros.cmake)
configure_msvc_runtime ()

add_compile_options("$<$<CXX_COMPILER_ID:MSVC>:/utf-8>")
add_compile_options("$<$<C_COMPILER_ID:MSVC>:/utf-8>")

if (WARNINGS_AS_ERRORS)
if (MSVC)
add_compile_options (/WX)
Expand Down

0 comments on commit 089d018

Please sign in to comment.