-
Notifications
You must be signed in to change notification settings - Fork 473
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
Fix CMake configuration error in snappy #803
Conversation
@torwig @aleksraiden Hi, could you guys help me to check whether this PR really fixed the CMake error on Fedora or Debian? So thanks! Here is a simple script for reference to check it: git clone -b fix-792 https://github.com/PragmaTwice/incubator-kvrocks
cd incubator-kvrocks && ./x.py build |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May you describe a bit how adding these two files helps resolve the issue?
I think it's about CMake resolving order while it looks like we always set GFLAGS_FOUND
& GTEST_FOUND
to false
.
By default, for It is actually a bug in (old version of) snappy, we defined |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your explanation! Sounds good to me.
Although, I don't have a Fedora env to verify it :P
@tisonkun I can confirm that the build process goes smoothly on Fedora 35 now. |
@torwig Thanks for your confirmation! Merging... |
@tisonkun I can confirm too, that the build process on Debian 11 are OK. |
This closes #792.