1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-28 16:09:43 +00:00

Force MSVC to build in utf-8 mode

This commit is contained in:
wareya 2021-11-04 10:09:48 -04:00
parent 2d3c6faec4
commit db04dee29d

View file

@ -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)