-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
[wangle]:fix dependency #30792
[wangle]:fix dependency #30792
Conversation
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.
I think it would be good to try harder to minimize the patch.
- There is no need to change
OpenSSL_LIBRARIES
(unless you relly want and have targets everywhere, or are affected by CMake reordering static link libraries for mixe use). - Personally I prefer to group all changes locally to
find_package
, e.g.-find_package(Glog REQUIRED) +find_package(Glog NAMES glog CONFIG REQUIRED) # Sets Glog_FOUND +set(GLOG_INCLUDE_DIR "") # If we want to have it initialized +set(GLOG_LIBRARIES glog::glog) # No patching of multiple `$[GLOG_LIBRARIES}`
But in general 👍
Thanks @dg0yt , I will take a look. |
@Adela0814 ,this pr is ready for review. |
"${SOURCE_PATH}/build/fbcode_builder/CMake/FindZstd.cmake" | ||
) | ||
|
||
|
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.
Extra blank line.
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.
I agree that would be nice to remove but I don't want to force the PR build to be out of date over a style change like that. Something to fix next time we touch it. Thanks for pointing it out though!
Tested usage and all feature in the following triplets:
|
Thank you! ❤️ |
No description provided.