mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-11-15 12:52:53 +00:00
video_core/cmake: link against libva explicitly ...
... to fix build on Flatpak (and self-builds)
This commit is contained in:
parent
a578df4c6b
commit
e7f10de11a
|
@ -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