diff options
| author | Jan200101 <sentrycraft123@gmail.com> | 2024-05-26 15:13:33 +0200 |
|---|---|---|
| committer | Alex Rønne Petersen <alex@alexrp.com> | 2024-10-11 17:07:54 +0200 |
| commit | 41dbd0d0da0989495a97e99fb9269a49ac302768 (patch) | |
| tree | 18a043e574ada883a6d01738f387cc6f5486a0e3 /src/codegen/spirv.zig | |
| parent | 901f344be2fb822df2c431017833899450779c4d (diff) | |
| download | zig-41dbd0d0da0989495a97e99fb9269a49ac302768.tar.gz zig-41dbd0d0da0989495a97e99fb9269a49ac302768.zip | |
cmake: correct PIE support detection, add error output for debugging
`check_pie_supported` only uses the `OUTPUT_VARIABLE` to to signify errors
if PIE is actually supported is signaled by `CMAKE_<lang>_LINK_PIE_SUPPORTED`.
Checking if `OUTPUT_VARIABLE` is empty is not enough either since the check
is bypassed if its results are cached but the output variable is not cached.
Diffstat (limited to 'src/codegen/spirv.zig')
0 files changed, 0 insertions, 0 deletions
