summarylogtreecommitdiffstats
path: root/010-gst-plugins-intel-msdk-fix-intel-media-sdk-directories.patch
blob: 7e4e53e1dba21c7e37bf331ba0efc86ed3b89b02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/cmake/FindMediaSDK.cmake
+++ b/cmake/FindMediaSDK.cmake
@@ -16,8 +16,8 @@ function(FindMediaSDK)
     else()
       message(FATAL_ERROR "No MediaSDK distribution is found.")
     endif()
-    set(MFX_INCLUDES "${MFX_HOME}/include")
-    set(MFX_LIBRARY  "${MFX_HOME}/lib/lin_x64/libmfx.a")
+    set(MFX_INCLUDES "${MFX_HOME}/include/mfx")
+    set(MFX_LIBRARY  "${MFX_HOME}/lib64/libmfx.so")
     message(STATUS "MediaSDK include directory: ${MFX_INCLUDES}")
     message( STATUS "MediaSDK library directory: ${MFX_LIBRARY}")
     include_directories(${MFX_INCLUDES})