Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

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.