From: Georgi Gerganov Date: Wed, 26 Jul 2023 07:25:09 +0000 (+0300) Subject: Revert "cmake : fix MSVC compile error C3688 on non-unicode Windows (#1110)" X-Git-Tag: upstream/1.7.4~1369 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=7b374c9ac9b9861bb737eec060e4dfa29d229259;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp Revert "cmake : fix MSVC compile error C3688 on non-unicode Windows (#1110)" This reverts commit fe5c1a7341a973107c1e38286c287d32090082db. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index b837d7a4..1b5846d9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -251,7 +251,6 @@ if (${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm" OR ${CMAKE_SYSTEM_PROCESSOR} MATCHES else() message(STATUS "x86 detected") if (MSVC) - add_compile_options(/utf-8) if(NOT WHISPER_NO_AVX2) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /arch:AVX2") set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /arch:AVX2")