diff options
| author | manuel <manuel@mausz.at> | 2021-03-04 23:36:40 +0100 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2021-03-04 23:36:40 +0100 |
| commit | 3cb8aa05f8cee9e860cf83531682ff0ed4af6a4f (patch) | |
| tree | 921f4829b32126f80f9113c124f2e14c0ebce8d9 /cmake/modules/FindVAAPI.cmake | |
| parent | be933ef2241d79558f91796cc5b3a161f72ebf9c (diff) | |
| download | kodi-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.cmake | 4 |
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}) |
| 25 | find_library(VAAPI_libva-drm_LIBRARY NAMES va-drm | 25 | find_library(VAAPI_libva-drm_LIBRARY NAMES va-drm |
| 26 | PATHS ${PC_VAAPI_libva-drm_LIBDIR}) | 26 | PATHS ${PC_VAAPI_libva-drm_LIBDIR}) |
| 27 | if(CORE_PLATFORM_NAME_LC STREQUAL "wayland") | 27 | if("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") |
| 33 | endif() | 33 | endif() |
| 34 | if(CORE_PLATFORM_NAME_LC STREQUAL "x11") | 34 | if("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 |
