Skip to content

cmake: guard uninstall target#96

Open
xerpi wants to merge 1 commit intomarton78:masterfrom
xerpi:guard-uninstall-target
Open

cmake: guard uninstall target#96
xerpi wants to merge 1 commit intomarton78:masterfrom
xerpi:guard-uninstall-target

Conversation

@xerpi
Copy link
Copy Markdown
Contributor

@xerpi xerpi commented Apr 14, 2026

When using PFFFT as a submodule/FetchContent, other subprojects may create an uninstall target that conflicts with the unconditional uninstall target that PFFFT was creating.

Fix it by only creating the uninstall target if PFFFT is a top-level, and no other uninstall target has been created (just in case).

When using PFFFT as a submodule/FetchContent, other subprojects may
create an uninstall target that conflicts with the unconditional
uninstall target that PFFFT was creating.

Fix it by only creating the uninstall target if PFFFT is a top-level,
and no other uninstall target has been created (just in case).
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