Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ option(WITH_JPEG "Enable features requiring LibJPEG." ON)
# untested. Since building from cmake is very low pri anyway, this is OK. If
# you're a user and you need this, please open an issue (and a PR!).
option(WITH_WEBP "Enable features requiring LibWEBP." OFF)
# Same here
option(WITH_AVIF "Enable features requiring LibAVIF." OFF)

if(WITH_CUDA)
enable_language(CUDA)
Expand Down Expand Up @@ -40,12 +38,7 @@ endif()

if (WITH_WEBP)
add_definitions(-DWEBP_FOUND)
find_package(WEBP REQUIRED)
endif()

if (WITH_AVIF)
add_definitions(-DAVIF_FOUND)
find_package(AVIF REQUIRED)
find_package(WebP REQUIRED)
endif()

function(CUDA_CONVERT_FLAGS EXISTING_TARGET)
Expand Down
Loading