video_core/cmake: link against libva explicitly ...
... to fix build on Flatpak (and self-builds)
This commit is contained in:
parent
a578df4c6b
commit
e7f10de11a
1 changed files with 1 additions and 0 deletions
|
@ -3,6 +3,7 @@ add_subdirectory(host_shaders)
|
||||||
if(LIBVA_FOUND)
|
if(LIBVA_FOUND)
|
||||||
set_source_files_properties(command_classes/codecs/codec.cpp
|
set_source_files_properties(command_classes/codecs/codec.cpp
|
||||||
PROPERTIES COMPILE_DEFINITIONS LIBVA_FOUND=1)
|
PROPERTIES COMPILE_DEFINITIONS LIBVA_FOUND=1)
|
||||||
|
list(APPEND FFmpeg_LIBRARIES ${LIBVA_LIBRARIES})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_library(video_core STATIC
|
add_library(video_core STATIC
|
||||||
|
|
Loading…
Reference in a new issue