Skip to content

IAR: Restore support for projects not enabling policy CMP0057

Since !6372 (merged), we use the IN_LIST operator in the CMakeFindBinUtils module. Set policy CMP0057 to ensure it is available regardless of the project's policy settings.

Original Description

The search logic for the IAR linker, librarian and related tools uses the IN_LIST operator which is ignored unless CMP0057 is set to NEW. The CMP0057 policy is now set to NEW for the complete CMakeFindBinUtils module.

Fixes: #22640 (closed)
Backport: release

Edited by Brad King

Merge request reports