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

Add option to use external GTest in CMake #8736

Merged
merged 3 commits into from Feb 8, 2022

Commits on Aug 4, 2021

  1. Add option to use external GTest in CMake

    If `-Dprotobuf_USE_EXTERNAL_GTEST=ON` is passed to CMake, it will use an external Google Test copy (i.e. by calling `find_package(GTest REQUIRED)`) rather than the one provided as a submodule.
    
    This makes sense for larger projects that might already include Google Test and want to use a more standard CMake approach.
    
    Also updated build instructions with this information, and more idiomatic usage.
    florin-crisan committed Aug 4, 2021
    Copy the full SHA
    836617b View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2022

  1. Copy the full SHA
    6c36251 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    47a9a94 View commit details
    Browse the repository at this point in the history