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

Introduce option to select default gtest installation #312

Merged
merged 1 commit into from
Apr 21, 2015
Merged

Introduce option to select default gtest installation #312

merged 1 commit into from
Apr 21, 2015

Conversation

jollyroger
Copy link
Contributor

This will introduce RAPIDJSON_BUILD_THIRDPARTY_GTEST option. If it is set to
TRUE, cmake will look for GTest installation in thirdparty/gtest before
looking in other places.

Current default value (OFF) for RAPIDJSON_BUILD_THIRDPARTY_GTEST represents
previous behaviour when system-wide gtest installation is used whenever
possible.

This commit will as well eliminate problem described in #309 when source
directory found is thirdparty/gtest while include files are found
system-wide. This however won't give the user possibility to select gtest
installation to use.

This will introduce RAPIDJSON_BUILD_THIRDPARTY_GTEST option. If it is set to
TRUE, cmake will look for GTest installation in `thirdparty/gtest` before
looking in other places.

Current default value (OFF) for RAPIDJSON_BUILD_THIRDPARTY_GTEST represents
previous behaviour when system-wide gtest installation is used whenever
possible.

This commit will as well eliminate problem described in #309 when source
directory found is `thirdparty/gtest` while include files are found
system-wide. This however won't give the user possibility to select gtest
installation to use.
miloyip added a commit that referenced this pull request Apr 21, 2015
Introduce option to select default gtest installation
@miloyip miloyip merged commit de137a2 into Tencent:master Apr 21, 2015
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 04b6736 on jollyroger:find_gtest into 8d39282 on miloyip:master.

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.

3 participants