-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
[geographiclib] Update to 1.50.1 #11687
[geographiclib] Update to 1.50.1 #11687
Conversation
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
…date-geographiclib
ports/geographiclib/usage
Outdated
@@ -2,7 +2,6 @@ The package geographiclib:x64-linux provides CMake targets: | |||
|
|||
find_package(GeographicLib CONFIG REQUIRED) | |||
#dynamic | |||
target_link_libraries(main PRIVATE GeographicLib GeographicLib::GeographicLib) | |||
target_link_libraries(main PRIVATE GeographicLib GeographicLib_SHARED GeographicLib::GeographicLib GeographicLib::GeographicLib_SHARED) |
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.
Could you please add vcpkg-cmake-wrapper to solve this?
I downloaded this PR as a patch from https://github.com/microsoft/vcpkg/pull/11687.patch I tried applying this patch to vcpkg:master at commit 7192d3a, but it failed to apply. See below:
Is the patch invalid or am I doing something wrong? |
@Mistrical |
@NancyLi1013 Is this PR likely to be finished/merged soon? I'm happy to help with testing it, but I still can't seem to apply the patch to master at commit 70ab27f |
@Mistrical Try |
Please resolve the file conflicts. |
…NancyLi10293/update-geographiclib # Conflicts: # ports/geographiclib/CONTROL # ports/geographiclib/portfile.cmake
…b.com/NancyLi1013/vcpkg into dev/NancyLi10293/update-geographiclib
@NancyLi1013 Hi, I'm the author of geographiclib. I would be interested in hearing from you how I can simplify the deployment of a vcpkg for geographiclib. Perhaps a single flag in CMakeLists.txt? I also have some questions/comments about the patches:
|
Hi @cffk It would be better to add the OPTIONS for these parts:
If so, we can disable the codes that we don't need to build via setting the value of options as off instead of making patches. Or we can add them as features for I need to investigate why tools are disabled in current version since it was introduced by some older changes. I will try to build and install tools if there are no errors. As for the usage, I just added this line: Since the package name seems to be updated from We should use Thanks again for your support. |
When I try to use
|
Let me try to get my arms around vcpkg and the changes that are being made to the build of GeographicLib. Then I will be able to offer some intelligent feedback. (A colleague at work was telling me about vcpkg since a year ago, but I haven't looked at it until now.) I hope to get back to you within a couple of weeks. |
@cffk if you have any questions about how this stuff works, we're available on discord, slack, and github issues 😄😄😄 |
OK, I've submitted an independent PR #12379. I've configured this from scratch and expect that the next release of GeographicLib will need a minimal patch to work with vcpkg. By the way, what's the recommended CMake variable, e.g., |
Update
geographiclib
to the latest version 1.50.1.Other changes:
Also fix the usage error like this:
Resolve #10293
Note: No feature need to test.