vcpkg/ports/libheif/disable-depend-dav1d.patch

15 lines
321 B
Diff
Raw Normal View History

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")