Skip to content

Commit

Permalink
Merge pull request #23 from Knitschi/issue16
Browse files Browse the repository at this point in the history
Add documentation for BUILD_GMOCK and BUILD_GTEST options.
  • Loading branch information
Knitschi authored Oct 31, 2017
2 parents 0126eba + 30d4c30 commit 9dfc8fb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ are only available for versions later than `1.7.0-hunter-11`.
the compilation of the package may fail when copying the license file. This happens for versions later than `1.7.0-hunter-11`.
To fix the problem set the path to the license file in your local `config.cmake` by using `hunter_config( GTest GIT_SUBMODULE <mySubmodulePath> CMAKE_ARGS HUNTER_INSTALL_LICENSE_FILES=googletest/LICENSE)`.

* If you do not need the **GMock** package, you can use `hunter_config(GTest VERSION <your_version> CMAKE_ARGS BUILD_GMOCK=OFF BUILD_GTEST=ON )` to only build
the **GTest** package.

# Google Test #

Expand Down

0 comments on commit 9dfc8fb

Please sign in to comment.