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

[tiff] Fix libm as dependency for android #25159

Merged
merged 1 commit into from
Jun 10, 2022

Conversation

m-kuhn
Copy link
Contributor

@m-kuhn m-kuhn commented Jun 9, 2022

Describe the pull request

  • What does your PR fix?

    Fixes -lm is missing as dependency on Android

  • Which triplets are supported/not supported? Have you updated the CI baseline?

    all

  • Does your PR follow the maintainer guide?

    Yes

  • If you have added/updated a port: Have you run ./vcpkg x-add-version --all and committed the result?

Followup #22137 and #24986

Upstream pull request: https://gitlab.com/libtiff/libtiff/-/merge_requests/350

list(APPEND tiff_libs_private_list "${CMath_LIBRARY}")
endif()

+include(CheckLibraryExists)

Choose a reason for hiding this comment

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

Could this be done more cleanly in the FindCMath.cmake file? That's the part that's supposed to be doing this work.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This sounds right. I have adjusted the patch to be isolated in FindCMath.cmake.

@m-kuhn m-kuhn force-pushed the libm-android-pc branch from 56c44fa to 5317c7c Compare June 9, 2022 11:34
@LilyWangLL LilyWangLL added category:port-bug The issue is with a library, which is something the port should already support category:community-triplet A PR or issue related to community triplets not officially validated by the vcpkg team. labels Jun 10, 2022
@LilyWangLL LilyWangLL changed the title Fix libm as dependency for android [tiff] Fix libm as dependency for android Jun 10, 2022
@LilyWangLL LilyWangLL added the info:reviewed Pull Request changes follow basic guidelines label Jun 10, 2022
@ras0219-msft ras0219-msft merged commit 233e6da into microsoft:master Jun 10, 2022
@ras0219-msft
Copy link
Contributor

LGTM, thanks!

@m-kuhn m-kuhn deleted the libm-android-pc branch June 10, 2022 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:community-triplet A PR or issue related to community triplets not officially validated by the vcpkg team. 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.

4 participants