summaryrefslogtreecommitdiffstats
path: root/cmake/modules/FindVAAPI.cmake
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2021-03-04 23:36:40 +0100
committermanuel <manuel@mausz.at>2021-03-04 23:36:40 +0100
commit3cb8aa05f8cee9e860cf83531682ff0ed4af6a4f (patch)
tree921f4829b32126f80f9113c124f2e14c0ebce8d9 /cmake/modules/FindVAAPI.cmake
parentbe933ef2241d79558f91796cc5b3a161f72ebf9c (diff)
downloadkodi-pvr-build-Matrix.tar.gz
kodi-pvr-build-Matrix.tar.bz2
kodi-pvr-build-Matrix.zip
sync with upstreamMatrix
Diffstat (limited to 'cmake/modules/FindVAAPI.cmake')
-rw-r--r--cmake/modules/FindVAAPI.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/modules/FindVAAPI.cmake b/cmake/modules/FindVAAPI.cmake
index 2111e4f..f0a5d05 100644
--- a/cmake/modules/FindVAAPI.cmake
+++ b/cmake/modules/FindVAAPI.cmake
@@ -24,14 +24,14 @@ find_path(VAAPI_libva-drm_INCLUDE_DIR va/va_drm.h
24 PATHS ${PC_VAAPI_libva-drm_INCLUDEDIR}) 24 PATHS ${PC_VAAPI_libva-drm_INCLUDEDIR})
25find_library(VAAPI_libva-drm_LIBRARY NAMES va-drm 25find_library(VAAPI_libva-drm_LIBRARY NAMES va-drm
26 PATHS ${PC_VAAPI_libva-drm_LIBDIR}) 26 PATHS ${PC_VAAPI_libva-drm_LIBDIR})
27if(CORE_PLATFORM_NAME_LC STREQUAL "wayland") 27if("wayland" IN_LIST CORE_PLATFORM_NAME_LC)
28 find_path(VAAPI_libva-wayland_INCLUDE_DIR va/va_wayland.h 28 find_path(VAAPI_libva-wayland_INCLUDE_DIR va/va_wayland.h
29 PATHS ${PC_VAAPI_libva-wayland_INCLUDEDIR}) 29 PATHS ${PC_VAAPI_libva-wayland_INCLUDEDIR})
30 find_library(VAAPI_libva-wayland_LIBRARY NAMES va-wayland 30 find_library(VAAPI_libva-wayland_LIBRARY NAMES va-wayland
31 PATHS ${PC_VAAPI_libva-wayland_LIBDIR}) 31 PATHS ${PC_VAAPI_libva-wayland_LIBDIR})
32 list(APPEND REQUIRED_VARS "VAAPI_libva-wayland_INCLUDE_DIR" "VAAPI_libva-wayland_LIBRARY") 32 list(APPEND REQUIRED_VARS "VAAPI_libva-wayland_INCLUDE_DIR" "VAAPI_libva-wayland_LIBRARY")
33endif() 33endif()
34if(CORE_PLATFORM_NAME_LC STREQUAL "x11") 34if("x11" IN_LIST CORE_PLATFORM_NAME_LC)
35 find_path(VAAPI_libva-x11_INCLUDE_DIR va/va_x11.h 35 find_path(VAAPI_libva-x11_INCLUDE_DIR va/va_x11.h
36 PATHS ${PC_VAAPI_libva-x11_INCLUDEDIR}) 36 PATHS ${PC_VAAPI_libva-x11_INCLUDEDIR})
37 find_library(VAAPI_libva-x11_LIBRARY NAMES va-x11 37 find_library(VAAPI_libva-x11_LIBRARY NAMES va-x11