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)
1111# untested. Since building from cmake is very low pri anyway, this is OK. If
1212# you're a user and you need this, please open an issue (and a PR!).
1313option (WITH_WEBP "Enable features requiring LibWEBP." OFF )
14- # Same here
15- option (WITH_AVIF "Enable features requiring LibAVIF." OFF )
1614
1715if (WITH_CUDA)
1816 enable_language (CUDA)
@@ -40,12 +38,7 @@ endif()
4038
4139if (WITH_WEBP)
4240 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)
4942endif ()
5043
5144function (CUDA_CONVERT_FLAGS EXISTING_TARGET)
You can’t perform that action at this time.
0 commit comments