Enable gmock and fix system gtest issue (#18706)
authorSebastian Messmer <messmer@fb.com>
Tue, 2 Apr 2019 19:23:13 +0000 (12:23 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 2 Apr 2019 19:33:22 +0000 (12:33 -0700)
commitbb8a0d717ccb6e39e2ac1b8634e9277f22bd0327
tree0cb942c07325b87977bd2038d5c3ad079aceea26
parent01c03caacc266ad18cb19f1ee4131e9d16ea316f
Enable gmock and fix system gtest issue (#18706)

Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18706

- Enable gmock
- Fix issue where the gtest source files in third_party would include system gtest headers

Reviewed By: ezyang

Differential Revision: D14715302

fbshipit-source-id: 5335390913e651bda85c69d7ea9b5c1bce58f172
cmake/Dependencies.cmake