-
Notifications
You must be signed in to change notification settings - Fork 3
/
oiio-remove-heif-openjp.patch
33 lines (31 loc) · 1.37 KB
/
oiio-remove-heif-openjp.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
diff --git a/src/cmake/externalpackages.cmake b/src/cmake/externalpackages.cmake
index 83a1773f..640322c6 100644
--- a/src/cmake/externalpackages.cmake
+++ b/src/cmake/externalpackages.cmake
@@ -199,15 +199,6 @@ if (ENABLE_FIELD3D)
endif ()
endif ()
-# For HEIF/HEIC/AVIF formats
-checked_find_package (Libheif VERSION_MIN 1.3
- RECOMMEND_MIN 1.7
- RECOMMEND_MIN_REASON "for AVIF support")
-if (APPLE AND LIBHEIF_VERSION VERSION_GREATER_EQUAL 1.10 AND LIBHEIF_VERSION VERSION_LESS 1.11)
- message (WARNING "Libheif 1.10 on Apple is known to be broken, disabling libheif support")
- set (Libheif_FOUND 0)
-endif ()
-
checked_find_package (LibRaw
RECOMMEND_MIN 0.18
RECOMMEND_MIN_REASON "for ACES support and better camera metadata"
@@ -221,12 +212,6 @@ if (LibRaw_FOUND AND LibRaw_VERSION VERSION_LESS 0.20 AND CMAKE_CXX_STANDARD VER
# set (LIBRAW_FOUND 0)
endif ()
-checked_find_package (OpenJPEG VERSION_MIN 2.0
- RECOMMEND_MIN 2.2
- RECOMMEND_MIN_REASON "for multithreading support")
-# Note: Recent OpenJPEG versions have exported cmake configs, but we don't
-# find them reliable at all, so we stick to our FindOpenJPEG.cmake module.
-
checked_find_package (OpenVDB
VERSION_MIN 5.0
DEPS TBB