Skip to content

Document include-path collision workaround, refs #222#330

Merged
Dobiasd merged 1 commit into
masterfrom
docs-include-collision-workaround
Apr 27, 2026
Merged

Document include-path collision workaround, refs #222#330
Dobiasd merged 1 commit into
masterfrom
docs-include-collision-workaround

Conversation

@Dobiasd
Copy link
Copy Markdown
Owner

@Dobiasd Dobiasd commented Apr 27, 2026

Summary

  • Adds an "Avoiding include-path collisions on shared install prefixes" section to INSTALL.md.
  • Explains when the problem occurs (multiple fplus copies on the include path of one build), why CMake-package consumers are unaffected, and the one-flag workaround for distro packagers / advanced users:
    -D CMAKE_INSTALL_INCLUDEDIR=include/FunctionalPlus.
  • No code change. Default install layout (<prefix>/include/fplus/) is preserved, so non-CMake users (notably the frugally-deep audience) keep working without changes.

Background discussion: #222.

Test plan

  • Render INSTALL.md and confirm the new section is correctly formatted and the link to #way-1-using-cmake resolves.

@Dobiasd Dobiasd merged commit 4c748dc into master Apr 27, 2026
49 checks passed
@Dobiasd Dobiasd deleted the docs-include-collision-workaround branch April 27, 2026 06:58
@Dobiasd Dobiasd mentioned this pull request Apr 27, 2026
2 tasks
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.

1 participant