diff options
author | yzct12345 <87620833+yzct12345@users.noreply.github.com> | 2021-08-04 05:43:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-04 05:43:11 +0200 |
commit | 2868d4ba84f43c9bf3c7b6997ddcafb6e65c4a02 (patch) | |
tree | 7cb19f8de5b5b37db87fa331d9b3c951ce372b4b /src/video_core/CMakeLists.txt | |
parent | Merge pull request #6805 from lat9nq/fix-user-profiles (diff) | |
download | yuzu-2868d4ba84f43c9bf3c7b6997ddcafb6e65c4a02.tar yuzu-2868d4ba84f43c9bf3c7b6997ddcafb6e65c4a02.tar.gz yuzu-2868d4ba84f43c9bf3c7b6997ddcafb6e65c4a02.tar.bz2 yuzu-2868d4ba84f43c9bf3c7b6997ddcafb6e65c4a02.tar.lz yuzu-2868d4ba84f43c9bf3c7b6997ddcafb6e65c4a02.tar.xz yuzu-2868d4ba84f43c9bf3c7b6997ddcafb6e65c4a02.tar.zst yuzu-2868d4ba84f43c9bf3c7b6997ddcafb6e65c4a02.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video_core/CMakeLists.txt b/src/video_core/CMakeLists.txt index 333f6f35f..1eb67c051 100644 --- a/src/video_core/CMakeLists.txt +++ b/src/video_core/CMakeLists.txt @@ -1,5 +1,10 @@ add_subdirectory(host_shaders) +if(LIBVA_FOUND) + set_source_files_properties(command_classes/codecs/codec.cpp + PROPERTIES COMPILE_DEFINITIONS LIBVA_FOUND=1) +endif() + add_library(video_core STATIC buffer_cache/buffer_base.h buffer_cache/buffer_cache.cpp |