add encoding flag for stupid vs

This commit is contained in:
milek7
2018-10-11 22:37:35 +02:00
parent 51c4918c7a
commit b77bbd93e2

View File

@@ -167,6 +167,7 @@ endif()
if (${CMAKE_CXX_COMPILER_ID} STREQUAL MSVC)
set(SOURCES ${SOURCES} "eu07.rc")
set(SOURCES ${SOURCES} "eu07.ico")
add_compile_options("/utf-8")
endif()
add_executable(${PROJECT_NAME} ${SOURCES} ${HEADERS})