forked from ShuriZma/suyu
1
0
Fork 0

video_core/cmake: link against libva explicitly ...

... to fix build on Flatpak (and self-builds)
This commit is contained in:
liushuyu 2021-12-02 22:35:30 -07:00
parent a578df4c6b
commit e7f10de11a
No known key found for this signature in database
GPG Key ID: 23D1CE4534419437
1 changed files with 1 additions and 0 deletions

View File

@ -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