fix: enforce utf-8 charset when building flameshot

This commit is contained in:
Ahmed Zetao Yang
2020-11-02 22:15:56 +08:00
committed by borgmanJeremy
parent 71be27002c
commit 65f28de250

View File

@@ -20,6 +20,9 @@ add_executable(Flameshot::flameshot ALIAS flameshot)
if(WIN32)
set_property(TARGET flameshot PROPERTY WIN32_EXECUTABLE true)
if(MSVC)
target_compile_options(flameshot PRIVATE /source-charset:utf-8)
endif()
endif()
add_subdirectory(cli)