-
Notifications
You must be signed in to change notification settings - Fork 162
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
gtest conflicting #76
Comments
Yes, I can see this could cause a problem. What do you suggest we do to solve this? |
The simple solution would be just to rename the directory, perhaps to |
This is how i solved this in my CMake file:
|
+1 to this |
Describe the bug
Because gtest is embedded in the root of the respository under the gtest directory, if this repository is included in a unit testing
CMakeLists.txt
usinginclude_directories
, and googletest is also used in the same project then#include "gtest/gtest.h"
could include either header. As the gtest.h in this project is very old, this causes problems.To Reproduce
Steps to reproduce the behavior:
gtest/gtest.h
The text was updated successfully, but these errors were encountered: