Skip to content

CMake: Disable BUILD_TESTING for toml-f when WITH_TEST=OFF#2

Open
Growl1234 wants to merge 2 commits into
pprcht:experimentalfrom
Growl1234:experimental
Open

CMake: Disable BUILD_TESTING for toml-f when WITH_TEST=OFF#2
Growl1234 wants to merge 2 commits into
pprcht:experimentalfrom
Growl1234:experimental

Conversation

@Growl1234

Copy link
Copy Markdown

Package toml-f use a more general option name, BUILD_TESTING, rather than WITH_TESTS. Therefore, WITH_TESTS=OFF flag won't be passed to toml-f, and toml-f will keep building unittests, which requires test-drive whose finding logic is disabled through WITH_TESTS=OFF set by crest. This is the reason why with flag WITH_TESTS=OFF CMake still downloads test-drive even if it exists in subprojects/ directory, and this PR is a simple workflow to fix the issue.

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