diff options
| author | 2019-03-14 02:17:19 -0300 | |
|---|---|---|
| committer | 2019-04-10 14:20:25 -0300 | |
| commit | 970d9e57c817028ad4c2695adc8205e303de20b9 (patch) | |
| tree | 23e1ff2b90d5dad68f75366b71fdd74e5ab1218d /src/video_core | |
| parent | Merge pull request #2345 from ReinUsesLisp/multibind (diff) | |
| download | yuzu-970d9e57c817028ad4c2695adc8205e303de20b9.tar.gz yuzu-970d9e57c817028ad4c2695adc8205e303de20b9.tar.xz yuzu-970d9e57c817028ad4c2695adc8205e303de20b9.zip | |
video_core: Add sirit as optional dependency with Vulkan
sirit is a runtime assembler for SPIR-V
Diffstat (limited to 'src/video_core')
| -rw-r--r-- | src/video_core/CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/video_core/CMakeLists.txt b/src/video_core/CMakeLists.txt index 242a0d1cd..fe6b6ef7d 100644 --- a/src/video_core/CMakeLists.txt +++ b/src/video_core/CMakeLists.txt | |||
| @@ -132,7 +132,7 @@ if (ENABLE_VULKAN) | |||
| 132 | renderer_vulkan/vk_swapchain.cpp | 132 | renderer_vulkan/vk_swapchain.cpp |
| 133 | renderer_vulkan/vk_swapchain.h) | 133 | renderer_vulkan/vk_swapchain.h) |
| 134 | 134 | ||
| 135 | target_include_directories(video_core PRIVATE ../../externals/Vulkan-Headers/include) | 135 | target_include_directories(video_core PRIVATE sirit ../../externals/Vulkan-Headers/include) |
| 136 | target_compile_definitions(video_core PRIVATE HAS_VULKAN) | 136 | target_compile_definitions(video_core PRIVATE HAS_VULKAN) |
| 137 | endif() | 137 | endif() |
| 138 | 138 | ||
| @@ -140,3 +140,6 @@ create_target_directory_groups(video_core) | |||
| 140 | 140 | ||
| 141 | target_link_libraries(video_core PUBLIC common core) | 141 | target_link_libraries(video_core PUBLIC common core) |
| 142 | target_link_libraries(video_core PRIVATE glad) | 142 | target_link_libraries(video_core PRIVATE glad) |
| 143 | if (ENABLE_VULKAN) | ||
| 144 | target_link_libraries(video_core PRIVATE sirit) | ||
| 145 | endif() | ||