Force MSVC to build in utf-8 mode

pull/3222/head
wareya 3 years ago
parent 2d3c6faec4
commit db04dee29d

@ -199,6 +199,10 @@ if (WIN32)
option(USE_DEBUG_CONSOLE "whether a debug console should be enabled for debug builds, if false debug output is redirected to Visual Studio output" ON)
endif()
if(MSVC)
add_compile_options("/utf-8")
endif()
# Dependencies
find_package(OpenGL REQUIRED)

Loading…
Cancel
Save