1
0
Fork 0
forked from suyu/suyu

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

View file

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