summaryrefslogtreecommitdiff
path: root/games-emulation/azahar/files/azahar-2123.2-use-the-system-sirit-library.patch
blob: 94bda37ca0ad79b18cc49395a753ea6e36bf3f15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
From: Pavel Sobolev <contact@paveloom.dev>
Subject: [PATCH] Use the system `sirit` library.

Signed-off-by: Pavel Sobolev <contact@paveloom.dev>

--- a/externals/CMakeLists.txt
+++ b/externals/CMakeLists.txt
@@ -452,7 +452,7 @@ if (ENABLE_VULKAN)
     endif()
 
     # sirit
-    add_subdirectory(sirit EXCLUDE_FROM_ALL)
+    find_package(sirit REQUIRED)
 
     # VMA
     if(USE_SYSTEM_VMA)