Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search system for GTest before downloading. #654 #657

Merged
merged 1 commit into from
Nov 19, 2022
Merged

Search system for GTest before downloading. #654 #657

merged 1 commit into from
Nov 19, 2022

Conversation

thesamesam
Copy link
Contributor

Distributions often do builds with no network access available for both security reasons and also to ensure reproducibility.

This change tells CMake to query the system for a copy of gtest, but if it's not available, it'll fall back to downloading via FetchContent.

Distributions often do builds with no network access available
for both security reasons and also to ensure reproducibility.

This change tells CMake to query the system for a copy of gtest,
but if it's not available, it'll fall back to downloading via
FetchContent.
@nmoinvaz nmoinvaz changed the base branch from master to develop November 19, 2022 19:55
@nmoinvaz nmoinvaz merged commit 27b8e31 into zlib-ng:develop Nov 19, 2022
@nmoinvaz
Copy link
Member

Thanks!

@nmoinvaz nmoinvaz added the build system Build system and script changes label Nov 19, 2022
@thesamesam
Copy link
Contributor Author

Thank you!

@thesamesam thesamesam deleted the gtest-system branch November 19, 2022 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build system Build system and script changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants