summaryrefslogtreecommitdiff
path: root/media-libs/x265/files/x265-4.1-vmaf.patch
blob: 18729a29216ba1d532a3ff7f8edd37ae66f98808 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From 8a327700139481378a5b4d25e349c059190057c2 Mon Sep 17 00:00:00 2001
From: Paul Zander <negril.nx+gentoo@gmail.com>
Date: Sat, 21 Sep 2024 19:17:22 +0200
Subject: [PATCH] enable vmaf for shared lib

Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>

diff --git a/CMakeLists.txt b/CMakeLists.txt
index a203f4f..c14767f 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -814,6 +814,9 @@ if(ENABLE_SHARED)
     endif()
     if(EXTRA_LIB)
         target_link_libraries(x265-shared ${EXTRA_LIB})
+    endif()
+    if(ENABLE_LIBVMAF)
+        target_link_libraries(x265-shared ${VMAF})
     endif()
 	 target_link_libraries(x265-shared ${PLATFORM_LIBS})
     if(SVTHEVC_FOUND)
-- 
2.46.0