diff options
| author | S1m0ne1997 <347981799+S1m0ne1997@users.noreply.github.com> | 2026-11-21 20:15:24 +0100 |
|---|---|---|
| committer | S1m0ne1997 <347981799+S1m0ne1997@users.noreply.github.com> | 2026-11-21 20:15:24 +0100 |
| commit | 5504d5eff417db33173bf36b7e18f8ca0c303033 (patch) | |
| tree | 2709a120dcf7c21299ecff249321429bbd2e5fcb /runtime/src/pe_loader.cpp | |
| parent | 2a732e0881cd20e7c63ba5ced7489cc5e97bc8e1 (diff) | |
runtime/CMakeLists: find d3d12.lib/dxgi.lib in the Windows SDK outside a Developer Prompt
find_library only searches %LIB%, which a plain shell doesn't set, so configuring with the
Visual Studio generator from a normal terminal (`cmake -S runtime -B runtime/build`, as the
CI workflow's check job does) skipped root_sig_test and device_proxy_test with
"d3d12.lib not found", although the generator links against that SDK. Look in the
generator's target SDK (KitsRoot10/Lib/<version>/um/x64) and in WindowsSdkDir when set.
Tested on Windows 11, VS 2022 Build Tools 14.44, SDK 10.0.26100.0, VS generator from a plain
shell: both libraries found, root_sig_test and device_proxy_test build and pass (WARP).
AI-assisted (Claude Code).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions