| commit | b0eb74cba56b8a3fae619a91cb04ba3db8727f33 | [log] [tgz] |
|---|---|---|
| author | Brad King <brad.king@kitware.com> | Fri May 23 09:19:35 2025 -0400 |
| committer | Brad King <brad.king@kitware.com> | Sat May 24 07:10:02 2025 -0400 |
| tree | 5e3641f5fd5375be3c7d5199ae0162b7e0f58c50 | |
| parent | 12d8baadab91cee259dcd901928aa4055ca1c41a [diff] |
try_compile: Restore propagation of CMAKE_<LANG>_LINK_PIE_SUPPORTED Refactoring in commit c4e890946a (try_compile: consistently add language properties, 2020-06-15, v3.19.0-rc1~633^2) accidentally dropped the `_LINK` part of the name. It also miscounted array indexes in a way that happened to propagate `CMAKE_<LANG>_LINK_NO_PIE_SUPPORTED` whether or not it is needed for the CMP0083 NEW behavior. Simplify the code and fix the variable name. Fixes: #26948