diff options
| author | liushuyu <liushuyu011@gmail.com> | 2021-12-02 22:35:30 -0700 |
|---|---|---|
| committer | liushuyu <liushuyu011@gmail.com> | 2021-12-02 22:35:30 -0700 |
| commit | 18ddfcc0cffeaf95bc56c4ba85e8f4dcc9cded19 (patch) | |
| tree | f786643f712362f69881038e6bbdf5a7c3f03754 /src/video_core/CMakeLists.txt | |
| parent | 168882cb7ae966430689f67b3976e61a7ad4426a (diff) | |
video_core/cmake: link against libva explicitly ...
... to fix build on Flatpak (and self-builds)
Diffstat (limited to 'src/video_core/CMakeLists.txt')
| -rw-r--r-- | src/video_core/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/CMakeLists.txt b/src/video_core/CMakeLists.txt index 91a30fef71..6a6325e38e 100644 --- a/src/video_core/CMakeLists.txt +++ b/src/video_core/CMakeLists.txt @@ -3,6 +3,7 @@ add_subdirectory(host_shaders) if(LIBVA_FOUND) set_source_files_properties(command_classes/codecs/codec.cpp PROPERTIES COMPILE_DEFINITIONS LIBVA_FOUND=1) + list(APPEND FFmpeg_LIBRARIES ${LIBVA_LIBRARIES}) endif() add_library(video_core STATIC |
