Skip to content

Commit

Permalink
fix: support utf8 on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMcAvoy committed Nov 6, 2024
1 parent 95ef990 commit d53551a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ set (CMAKE_CXX_STANDARD_REQUIRED ON)
# Project declaration
project(megatest)

if (WIN32)
message(STATUS "Manually enabling unicode support")
add_compile_options(/utf-8)
endif()

add_subdirectory(libs)

# binary
Expand Down

0 comments on commit d53551a

Please sign in to comment.