vcpkg/ports/vulkan/usage

9 lines
348 B
Plaintext
Raw Normal View History

vulkan is compatible with built-in CMake targets:
2019-03-05 14:39:17 +08:00
# https://cmake.org/cmake/help/latest/module/FindVulkan.html
2019-03-05 14:39:17 +08:00
find_package(Vulkan REQUIRED)
target_link_libraries(main PRIVATE Vulkan::Vulkan)
The vulkan package does not provide direct Visual Studio integration.
For manual integration, add $(VULKAN_SDK)/include to your include path.