vcpkg/ports/libavif/disable-source-utf8.patch
Dmitry Baryshev 9535ae5f7d
[libavif] Create a new port (#18244)
* [libavif] Added libavif

* [libavif] vcpkg x-add-version --all

* [libavif] Fixed compilation error

* [libavif] vcpkg x-add-version --all --overwrite-version

* [libavif] Install CMake configs in static mode as well

* [libavif] vcpkg x-add-version --all --overwrite-version

* [libavif] Fixed port name

* [libavif] vcpkg x-add-version --all --overwrite-version

* [libavif] Update the CMake-related patch

* [libavif] vcpkg x-add-version --all --overwrite-version
2021-06-03 12:56:33 -07:00

13 lines
741 B
Diff

diff -pruN v0.9.0-92388ab3ad.clean.o/CMakeLists.txt v0.9.0-92388ab3ad.clean/CMakeLists.txt
--- a/CMakeLists.txt 2021-02-23 04:51:41.000000000 +0300
+++ b/CMakeLists.txt 2021-04-14 23:35:50.866487600 +0300
@@ -165,7 +165,7 @@ elseif(CMAKE_C_COMPILER_ID MATCHES "MSVC
# A C4556 warning will be generated on violation.
# Commonly used /utf-8 flag assumes UTF-8 for both source and console, which is usually not the case.
# Warnings can be suppressed but there will still be random characters printed to the console.
- /source-charset:utf-8 /execution-charset:us-ascii
+ #/source-charset:utf-8 /execution-charset:us-ascii
)
else()
MESSAGE(FATAL_ERROR "libavif: Unknown compiler, bailing out")