diff options
author | Jonathan Cohen <cohenjon@google.com> | 2018-01-30T20·06-0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-30T20·06-0500 |
commit | e5c6ee2d0032d08f4d7a4680c13b9e2e5787ac26 (patch) | |
tree | 3ecc27314a5d867dd342fed5b1ad831539995ffa /CMake/README.md | |
parent | 43801dbd39664da291e24a63c86b4ed82069a0f6 (diff) | |
parent | 10c79457fca05df92319235eab6e75c56adc841b (diff) |
Merge pull request #69 from romange/master
Relax dependency requirements for google test library and allow customization of cctz target
Diffstat (limited to 'CMake/README.md')
-rw-r--r-- | CMake/README.md | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/CMake/README.md b/CMake/README.md index 0ae9c2686a88..404d248e3851 100644 --- a/CMake/README.md +++ b/CMake/README.md @@ -28,8 +28,11 @@ Note: Abseil requires CCTZ and the googletest framework. Consequently, the targets `gtest`, `gtest_main`, `gmock` and `cctz` need - to be declared in your project before including abseil with `add_subdirectory`. - + to be declared in your project before including abseil with + `add_subdirectory`. However, if abseil is compiled with + `-DBUILD_TESTING=OFF`, then `gtest`, `gmock` and `gtest_main` are not + required. In addition, it's possible to override the name of the `cctz` + target to a custom one with option `-DABSL_CCTZ_TARGET=*my_cctz*`. 4- Add the absl:: target you wish to use to the `target_link_libraries()` section of your executable or of your library |