summaryrefslogtreecommitdiffstats
path: root/src/video_core/CMakeLists.txt
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-02-12 22:01:40 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-02-12 22:33:02 +0100
commit18fe910957b2edb7e89eefc6f5c984b791d85341 (patch)
tree20672b4738aa3d9013c0a51996ba2b95696e9c1f /src/video_core/CMakeLists.txt
parentlogging: Add Vulkan backend logging class type (diff)
downloadyuzu-18fe910957b2edb7e89eefc6f5c984b791d85341.tar
yuzu-18fe910957b2edb7e89eefc6f5c984b791d85341.tar.gz
yuzu-18fe910957b2edb7e89eefc6f5c984b791d85341.tar.bz2
yuzu-18fe910957b2edb7e89eefc6f5c984b791d85341.tar.lz
yuzu-18fe910957b2edb7e89eefc6f5c984b791d85341.tar.xz
yuzu-18fe910957b2edb7e89eefc6f5c984b791d85341.tar.zst
yuzu-18fe910957b2edb7e89eefc6f5c984b791d85341.zip
Diffstat (limited to 'src/video_core/CMakeLists.txt')
-rw-r--r--src/video_core/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/video_core/CMakeLists.txt b/src/video_core/CMakeLists.txt
index 33e507e69..a12680d35 100644
--- a/src/video_core/CMakeLists.txt
+++ b/src/video_core/CMakeLists.txt
@@ -101,6 +101,13 @@ add_library(video_core STATIC
video_core.h
)
+if (ENABLE_VULKAN)
+ target_sources(video_core PRIVATE renderer_vulkan/declarations.h)
+
+ target_include_directories(video_core PRIVATE ../../externals/Vulkan-Headers/include)
+ target_compile_definitions(video_core PRIVATE HAS_VULKAN)
+endif()
+
create_target_directory_groups(video_core)
target_link_libraries(video_core PUBLIC common core)