mirror of
https://github.com/KhronosGroup/Vulkan-Headers.git
synced 2025-04-04 20:54:58 +00:00
docs: Update BUILD.md
This commit is contained in:
parent
d0f8581c60
commit
b62045d6ba
1 changed files with 2 additions and 2 deletions
4
BUILD.md
4
BUILD.md
|
@ -35,12 +35,12 @@ The library provides a Config file for CMake, once installed it can be found via
|
|||
|
||||
Which, when successful, will create the header only library `Vulkan::Headers` which you can use via the usual `target_link_libraries` mechanism.
|
||||
|
||||
`VULKAN_HEADERS_REGISTRY_DIRECTORY` is also provided to users who need it.
|
||||
|
||||
```cmake
|
||||
find_package(VulkanHeaders REQUIRED CONFIG)
|
||||
|
||||
target_link_libraries(foobar PRIVATE Vulkan::Headers)
|
||||
|
||||
message(STATUS "Vulkan Headers Registry: ${VULKAN_HEADERS_REGISTRY_DIRECTORY}")
|
||||
|
||||
message(STATUS "Vulkan Headers Version: ${VulkanHeaders_VERSION}")
|
||||
```
|
||||
|
|
Loading…
Add table
Reference in a new issue