Skip to content

build: remove the find modules nothing loads - #150

Open
skipbit wants to merge 1 commit into
mainfrom
build/remove-unused-find-modules
Open

skipbit wants to merge 1 commit into
mainfrom
build/remove-unused-find-modules

Conversation

@skipbit

@skipbit skipbit commented Nov 23, 2026

Copy link
Copy Markdown
Owner

No find_package call names Dross or Git2, so a configure never reads cmake/FindDross.cmake or cmake/FindGit2.cmake. A traced configure of a fresh build tree reads neither (0 lines each), while the modules in use show up (FindCLI11 3, FindGoogleTest 3, FindXz 30).

FindDross.cmake also fetched dross at its main branch, so loading it would have linked whatever that branch held at the time.

Without the two files, a fresh configure, build and ctest (1550 tests) pass.

No find_package names Dross or Git2, so a configure never reads
FindDross.cmake or FindGit2.cmake. The first still fetched dross at
its main branch for anyone who would load it.

This branch has not been deployed

No deployments
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