Skip to content
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

Merged
merged 10 commits into from
Apr 26, 2023
Merged

[wangle]:fix dependency #30792

merged 10 commits into from
Apr 26, 2023

Conversation

jiayuehua
Copy link
Contributor

No description provided.

Copy link
Contributor

@dg0yt dg0yt left a 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 👍

@Adela0814 Adela0814 added the category:port-bug The issue is with a library, which is something the port should already support label Apr 13, 2023
@jiayuehua
Copy link
Contributor Author

Thanks @dg0yt , I will take a look.

@jiayuehua jiayuehua marked this pull request as draft April 17, 2023 17:50
@jiayuehua jiayuehua marked this pull request as ready for review April 24, 2023 21:43
@jiayuehua
Copy link
Contributor Author

@Adela0814 ,this pr is ready for review.

@Adela0814 Adela0814 added the requires:all-feature-testing vcpkg install port[all features supported by that port] needs to be demonstrated to function label Apr 25, 2023
"${SOURCE_PATH}/build/fbcode_builder/CMake/FindZstd.cmake"
)


Copy link
Contributor

@Adela0814 Adela0814 Apr 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extra blank line.

Copy link
Member

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!

@Adela0814
Copy link
Contributor

Tested usage and all feature in the following triplets:

  • x64-windows
  • x86-windows
  • x64-windows-static

@Adela0814 Adela0814 added info:reviewed Pull Request changes follow basic guidelines and removed requires:all-feature-testing vcpkg install port[all features supported by that port] needs to be demonstrated to function labels Apr 26, 2023
@BillyONeal BillyONeal merged commit 40ab347 into microsoft:master Apr 26, 2023
12 checks passed
@BillyONeal
Copy link
Member

Thank you! ❤️

@jiayuehua jiayuehua deleted the wangle branch April 26, 2023 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support info:reviewed Pull Request changes follow basic guidelines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants