mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-01-29 23:53:52 +00:00
Revert "cmake : fix MSVC compile error C3688 on non-unicode Windows (#1110)"
This reverts commit fe5c1a7341a973107c1e38286c287d32090082db.
This commit is contained in:
parent
a32c4aa482
commit
7b374c9ac9
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user