aboutsummaryrefslogtreecommitdiff
path: root/multimedia/aom/files/patch-CMakeLists.txt
blob: 175de31849f07be862fa3387a7ed38847333db92 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
- Drop unused static libhwy dependency when using shared libjxl

--- CMakeLists.txt.orig	2021-10-13 17:24:39 UTC
+++ CMakeLists.txt
@@ -525,12 +525,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} ${LIBHWY_LIBRARIES})
-      target_include_directories(aom PRIVATE ${LIBLIBHWY_INCLUDE_DIRS})
-      if(LIBHWY_CFLAGS)
-        append_compiler_flag("${LIBHWY_CFLAGS}")
-      endif()
     endif()
 
     set_target_properties(aom PROPERTIES LINKER_LANGUAGE CXX)