Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
The extended_type test will always fail when build with WITH_UNCOMPRESSED_CODEC=ON as HEVC will not be available then.
  • Loading branch information
arjendekorte authored Nov 2, 2024
1 parent 74a4393 commit f5700a1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,12 @@ endif()
# --- tests that only access the public API

add_libheif_test(encode)
add_libheif_test(extended_type)
add_libheif_test(region)

if (NOT WITH_UNCOMPRESSED_CODEC)
add_libheif_test(extended_type)
endif()

if (WITH_OPENJPH_ENCODER AND SUPPORTS_J2K_HT_ENCODING)
add_libheif_test(encode_htj2k)
else()
Expand Down

0 comments on commit f5700a1

Please sign in to comment.