summaryrefslogtreecommitdiff
path: root/common/c_cpp/CMakeLists.txt
diff options
context:
space:
mode:
authorHunter Kvalevog <hunter@kvog.sh>2026-03-12 00:35:48 -0400
committerHunter Kvalevog <hunter@kvog.sh>2026-03-12 00:35:48 -0400
commit62b66395da15266c6ec41d7384f237d0e16fbc90 (patch)
tree4cfe52a7d87b983b6fbe298c900656a14697ebd3 /common/c_cpp/CMakeLists.txt
parent6a365e958aa382fbaa75bf0cde8af3fcd17d81f8 (diff)
Diffstat (limited to 'common/c_cpp/CMakeLists.txt')
-rw-r--r--common/c_cpp/CMakeLists.txt10
1 files changed, 9 insertions, 1 deletions
diff --git a/common/c_cpp/CMakeLists.txt b/common/c_cpp/CMakeLists.txt
index 1e2cf1f..d629db3 100644
--- a/common/c_cpp/CMakeLists.txt
+++ b/common/c_cpp/CMakeLists.txt
@@ -106,4 +106,12 @@ if(DEMO_NEEDS_SDL3)
pkg_check_modules(sdl3 REQUIRED IMPORTED_TARGET sdl3)
target_link_libraries(common INTERFACE PkgConfig::sdl3)
endif()
-endif() \ No newline at end of file
+endif()
+
+# -----------------------------------------------------------------------------
+# Dependency: Vulkan
+# -----------------------------------------------------------------------------
+if(DEMO_NEEDS_VULKAN)
+ find_package(Vulkan REQUIRED)
+ target_link_libraries(common INTERFACE Vulkan::Vulkan)
+endif()