Fix MSVC flag for UTF-8

This commit is contained in:
ArthurSonzogni 2020-03-23 22:48:27 +01:00
parent b2b42a8a04
commit b6d1f8ebdb

View File

@ -81,7 +81,7 @@ foreach(lib screen dom component)
# Force Microsoft Visual Studio to decode sources files in UTF-8. This applies
# to the library and the library users.
if (MSVC)
target_compile_options(${lib} PUBLIC "/utf-8>")
target_compile_options(${lib} PUBLIC "/utf-8")
endif()
# Add as many warning as possible: