- Drop unused static libhwy dependency when using shared libjxl --- CMakeLists.txt.orig 2024-08-27 18:17:57 UTC +++ CMakeLists.txt @@ -588,13 +588,6 @@ if(CONFIG_AV1_ENCODER) if(LIBJXL_CFLAGS) append_compiler_flag("${LIBJXL_CFLAGS}") endif() - pkg_check_modules(LIBHWY REQUIRED libhwy) - target_link_libraries(aom PRIVATE ${LIBHWY_LDFLAGS}) - target_include_directories(aom_dsp_encoder - PRIVATE ${LIBLIBHWY_INCLUDE_DIRS}) - if(LIBHWY_CFLAGS) - append_compiler_flag("${LIBHWY_CFLAGS}") - endif() endif() set_target_properties(aom PROPERTIES LINKER_LANGUAGE CXX)