revert : cmake : set MSVC to use UTF-8 on source files (#2346)

This reverts commit c96906d84d.
This commit is contained in:
Georgi Gerganov 2024-09-02 11:16:30 +03:00
parent 2abaf19e0d
commit 5236f02784

View File

@ -15,11 +15,6 @@ if (NOT XCODE AND NOT MSVC AND NOT CMAKE_BUILD_TYPE)
set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Debug" "Release" "MinSizeRel" "RelWithDebInfo") set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Debug" "Release" "MinSizeRel" "RelWithDebInfo")
endif() endif()
# If MSVC set utf-8 encoding
if (MSVC)
add_compile_options(/utf-8)
endif()
# Add path to modules # Add path to modules
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/") list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/")