You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Worked for me with this change:
test/CMakeLists.txt line 49
set(GOOGLE_MOCK_LIBRARIES GTest::gmock GTest::gmock_main) -> set(GOOGLE_MOCK_LIBRARIES gmock)
If this is really a bug and not an issue with my environment (some missing or not installed correctly dependency) I can make a PR with a fix.
Hello, thanks for reporting this bug! I am not sure it was not due to you not having GMock installed globally on your environment, in an accessible path, as that is the intended way it should be used. Have you tried using the dockerfile to see if in the container everything works as intended? If not, you might be right and there is a mistake made in the linking part.
Describe the bug
Starting from fresh template, if use gmock option is selected, cmake generate fails.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Generation should work without any error
Screenshots
Desktop (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: