diff options
Diffstat (limited to 'common/c_cpp/CMakeLists.txt')
| -rw-r--r-- | common/c_cpp/CMakeLists.txt | 10 |
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() |