Skip to content

Commit ce5b26a

Browse files
rdong8scotts
andauthored
fix: typo in find_package for webp and remove avif from CMake (#9193)
Co-authored-by: Scott Schneider <[email protected]>
1 parent 48b2f9f commit ce5b26a

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

CMakeLists.txt

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff 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!).
1313
option(WITH_WEBP "Enable features requiring LibWEBP." OFF)
14-
# Same here
15-
option(WITH_AVIF "Enable features requiring LibAVIF." OFF)
1614

1715
if(WITH_CUDA)
1816
enable_language(CUDA)
@@ -40,12 +38,7 @@ endif()
4038

4139
if (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)
4942
endif()
5043

5144
function(CUDA_CONVERT_FLAGS EXISTING_TARGET)

0 commit comments

Comments
 (0)