Skip to content

Commit

Permalink
Add /utf-8 compile option
Browse files Browse the repository at this point in the history
  • Loading branch information
complexlogic committed Nov 20, 2024
1 parent cb00e54 commit ad77efe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ elseif (WIN32)

find_path(GETOPT_INCLUDE_DIR "getopt.h" REQUIRED)
find_library(GETOPT getopt REQUIRED)

add_compile_options("/utf-8")
endif()

include_directories(${PROJECT_BINARY_DIR})
Expand Down

0 comments on commit ad77efe

Please sign in to comment.