Skip to content
Snippets Groups Projects

set_property: Deduplicate source file directory scopes

Merged alcroito requested to merge alcroito/cmake:source_file_props_dedup_scopes into master

A user could specify the same directory scope to set_property() multiple times, which in conjunction with APPEND would append the property multiple times.

Make sure to deduplicate scopes across both DIRECTORY and TARGET_DIRECTORY options, so that a property is only appended once in such a scenario.

Fixes: #20941 (closed)
Backport: release

Edited by Brad King

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading