vcpkg/ports/libheif/disable-depend-dav1d.patch
Jack·Boos·Yu 51a4dd1442
[vcpkg baseline][libheif] Fix build failure on OSX (#18039)
* [vcpkg baseline][libheif] Fix build failure on OSX

* update version record
2021-05-21 00:31:48 -07:00

15 lines
321 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 05afd5d..1e7f36f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -65,7 +65,9 @@ if (WITH_AOM)
find_package(LibAOM)
endif()
find_package(Rav1e)
+if (WITH_DAV1D)
find_package(Dav1d)
+endif()
if (LIBDE265_FOUND)
message("HEIF decoder, libde265: found")