From 62b66395da15266c6ec41d7384f237d0e16fbc90 Mon Sep 17 00:00:00 2001 From: Hunter Kvalevog Date: Thu, 12 Mar 2026 00:35:48 -0400 Subject: --- common/c_cpp/CMakeLists.txt | 10 +++++++++- common/c_cpp/vkutil.h | 5 +++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 common/c_cpp/vkutil.h (limited to 'common') 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() diff --git a/common/c_cpp/vkutil.h b/common/c_cpp/vkutil.h new file mode 100644 index 0000000..89c7940 --- /dev/null +++ b/common/c_cpp/vkutil.h @@ -0,0 +1,5 @@ +#ifndef _DEMOS_VKUTIL_H_ +#define _DEMOS_VKUTIL_H_ + +#endif // _DEMOS_VKUTIL_H_ + -- cgit v1.2.3