Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • CMake CMake
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 4,108
    • Issues 4,108
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 19
    • Merge requests 19
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • CMakeCMake
  • CMakeCMake
  • Merge requests
  • !6921

IAR/CXX: Fix compatibility with CMP0057 OLD

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Raul Tambre requested to merge tambre/cmake:iar_cmp0057 into master Jan 29, 2022
  • Overview 4
  • Commits 1
  • Pipelines 1
  • Changes 1

Commit a9073db7 (IAR: update language specification detection, 2021-09-23) added usage of the if() IN_LIST operation and forgot to account for it not being available in CMP0057 OLD mode.
Push and temporarily enable the policy. Also avoid the unnecessary temporary variable for the list.

Fixes: #23147 (closed)
Backport: release

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: iar_cmp0057