diff options
| author | Hunter Kvalevog <hunter@kvog.sh> | 2026-03-12 00:35:48 -0400 |
|---|---|---|
| committer | Hunter Kvalevog <hunter@kvog.sh> | 2026-03-12 00:35:48 -0400 |
| commit | 62b66395da15266c6ec41d7384f237d0e16fbc90 (patch) | |
| tree | 4cfe52a7d87b983b6fbe298c900656a14697ebd3 /common/c_cpp | |
| parent | 6a365e958aa382fbaa75bf0cde8af3fcd17d81f8 (diff) | |
Diffstat (limited to 'common/c_cpp')
| -rw-r--r-- | common/c_cpp/CMakeLists.txt | 10 | ||||
| -rw-r--r-- | common/c_cpp/vkutil.h | 5 |
2 files changed, 14 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() 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_ + |