Skip to content

Conversation

@pysco68
Copy link
Contributor

@pysco68 pysco68 commented Jan 23, 2025

This change enables the target cache creation to create target aliases as specified in the FetchContent_MakeHermetic(<content-name> HERMETIC_CREATE_TARGET_ALIASES <code>) even when the dependency is brough in from the system by setting FORCE_SYSTEM_<content-name>

@pysco68 pysco68 self-assigned this Jan 23, 2025
@pysco68 pysco68 force-pushed the feature/force-system-target-aliasing branch from fded438 to 2a39a3c Compare February 5, 2025 16:26
@pysco68 pysco68 marked this pull request as ready for review February 5, 2025 16:27
@daminetreg daminetreg changed the title Enable target aliasing on dependencies that are brought in form the system / FORCE_SYSTEM_<content-name> Enable target aliasing on dependencies that are brought in from the system / FORCE_SYSTEM_<content-name> Feb 6, 2025
…ility

Added tests for the target aliasing functionality. Forwarding the ENABLE_LANGUAGES information from
the project through to the evaluation contexts where the information is required.

CHANGELOG

- HFC now executes the specified CREATE_TARGET_ALIASES function when FORCE_SYSTEM_<content-name>=ON

Change-Id: If8054665bc5786f4eb12891d16c975d3f4da1cdc
@pysco68 pysco68 force-pushed the feature/force-system-target-aliasing branch from 2a39a3c to f4d9981 Compare February 19, 2025 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants