mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-13 11:21:47 +08:00
8397227251
* [vulkan-sdk] Separate port * Update ci.baseline.txt * [hikogui] Using glslc from shaderc * [vulkan] Drop LICENSE.txt * [vulkan-sdk-components] Avoid vulkan-sdk name * [vulkan] Fixup copyright text
13 lines
492 B
Plaintext
13 lines
492 B
Plaintext
vulkan-sdk-components is compatible with built-in CMake targets:
|
|
|
|
# https://cmake.org/cmake/help/latest/module/FindVulkan.html
|
|
find_package(Vulkan REQUIRED)
|
|
# SPIR-V generator library
|
|
target_link_libraries(main PRIVATE Vulkan::glslang)
|
|
# DirectX Shader Compiler
|
|
target_link_libraries(main PRIVATE Vulkan::dxc)
|
|
|
|
The vulkan-sdk-components package does not provide direct Visual Studio
|
|
integration. For manual integration, add $(VULKAN_SDK)/include to your
|
|
include path.
|