File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,6 @@ option(WITH_JPEG "Enable features requiring LibJPEG." ON)
11
11
# untested. Since building from cmake is very low pri anyway, this is OK. If
12
12
# you're a user and you need this, please open an issue (and a PR!).
13
13
option (WITH_WEBP "Enable features requiring LibWEBP." OFF )
14
- # Same here
15
- option (WITH_AVIF "Enable features requiring LibAVIF." OFF )
16
14
17
15
if (WITH_CUDA )
18
16
enable_language (CUDA )
@@ -40,12 +38,7 @@ endif()
40
38
41
39
if (WITH_WEBP )
42
40
add_definitions (-DWEBP_FOUND )
43
- find_package (WEBP REQUIRED )
44
- endif ()
45
-
46
- if (WITH_AVIF )
47
- add_definitions (-DAVIF_FOUND )
48
- find_package (AVIF REQUIRED )
41
+ find_package (WebP REQUIRED )
49
42
endif ()
50
43
51
44
function (CUDA_CONVERT_FLAGS EXISTING_TARGET )
You can’t perform that action at this time.
0 commit comments