DirectStorage
DirectStorage copied to clipboard
Fix GDeflateDemo and GDeflateTest not linking
Both executables are missing windowsapp.lib for several WinRT functions referenced by the WinRT headers, and GDeflateDemo is also missing a reference to DXC, causing both to fail to link.
I wonder if something else is going on here. My assumption prior to this fix was that dxcompiler.lib was being picked up as part of the vcpkg system and plumbed via the CMakeLists.txt bits below:
find_package(directx-dxc CONFIG REQUIRED) find_package(directx-headers CONFIG REQUIRED) find_package(wil CONFIG REQUIRED)
set(libs ${libs}
Microsoft::DirectXShaderCompiler <<<<<<<<<-----------
Microsoft::DirectX-Guids Microsoft::DirectX-Headers
WIL::WIL
"d3d12.lib"
"dxgi.lib"
Did something change for the dx compiler? We should not have to explicly add the .lib to the project if the package is referenced.