1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-14 03:13:54 +02:00
openwrt-packages/libs/libsoxr/patches/010-Remove_automatic_avutil_inclusion.patch
Ted Hess 00de391b66 libsoxr: Build cleanup.
Remove automatic inclusion of avutil if ffmpeg libraries present in build.

Signed-off-by: Ted Hess <thess@kitschensync.net>
2018-03-07 13:33:59 -05:00

12 lines
309 B
Diff

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -134,7 +134,7 @@ if (WITH_AVFFT)
endif ()
endif ()
-if (WITH_AVFFT OR (CMAKE_SYSTEM_PROCESSOR MATCHES "^arm" AND SIMD32_FOUND AND WITH_CR32))
+if (WITH_AVFFT)
find_package (LibAVUtil)
if (AVUTIL_FOUND)
include_directories (${AVUTIL_INCLUDE_DIRS})