Skip to content

feat: set CMAKE_FIND_PACKAGE_RESOLVE_SYMLINKS=ON#248

Open
wdconinc wants to merge 2 commits intomasterfrom
wdconinc-patch-11
Open

feat: set CMAKE_FIND_PACKAGE_RESOLVE_SYMLINKS=ON#248
wdconinc wants to merge 2 commits intomasterfrom
wdconinc-patch-11

Conversation

@wdconinc
Copy link
Copy Markdown
Contributor

@wdconinc wdconinc commented Apr 21, 2026

Briefly, what does this PR introduce? Please link to any relevant presentations or discussions.

This PR sets the environment variable CMAKE_FIND_PACKAGE_RESOLVE_SYMLINKS to resolve symlinks in CMake.

What is the urgency of this PR?

  • High
  • Medium
  • Low

What kind of change does this PR introduce?

  • Bug fix (issue #__)
  • New feature (issue: better support for in-container development)
  • Optimization (issue #__)
  • Updated documentation
  • other: __

Please check if any of the following apply

  • This PR introduces breaking changes. Please describe changes users need to make below.
  • This PR changes default behavior. Please describe changes below.
  • AI was used in preparing this PR. Please describe usage below.

Instead of a single de-duplicated -I/opt/local/include you will likely end up with many long paths in compilation commands.

Copilot AI review requested due to automatic review settings April 21, 2026 17:48
@wdconinc wdconinc enabled auto-merge (squash) April 21, 2026 17:48
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Sets a container-wide default so CMake’s find_package() resolves symlinked paths to their real locations, improving behavior when developing against the in-container filesystem layout.

Changes:

  • Adds CMAKE_FIND_PACKAGE_RESOLVE_SYMLINKS=ON to the final image environment.
  • Documents the intent directly in the Dockerfile near the view/symlink handling.

@wdconinc wdconinc requested a review from veprbl April 21, 2026 17:50
@wdconinc wdconinc changed the title Set CMAKE_FIND_PACKAGE_RESOLVE_SYMLINKS to ON feat: set CMAKE_FIND_PACKAGE_RESOLVE_SYMLINKS=ON Apr 21, 2026
@wdconinc wdconinc requested a review from a team April 23, 2026 14:57
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