Skip to content

Conversation

@woodfell
Copy link
Contributor

Most packages provide options to enable or disable features such as unit tests, documentation, etc. Most of the time when we include a dependency as a submodule we want to disable all these optional features to avoid various cmake nastiness. The commands to disable features (eg. option(libsbp_ENABLE_TESTS "" OFF)) occur almost everywhere that each package is used and rarely, if ever, vary. It would make sense to set some default options in the Find*.cmake modules to disable features by default, leaving open the ability for a higher level project to selectively re-enable something if it really requires it.

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