mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-16 19:17:55 +08:00
7 lines
286 B
Plaintext
7 lines
286 B
Plaintext
|
The DirectX Shader Compiler package provides CMake targets:
|
||
|
|
||
|
find_package(directx-dxc CONFIG REQUIRED)
|
||
|
target_link_libraries(main PRIVATE Microsoft::DirectXShaderCompiler)
|
||
|
|
||
|
The CMake variable DIRECTX_DXC_TOOL is also set to point to the appropriate DXC command-line tool.
|