-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Recipe/20067 armadillo fix cmake targets #20068
Recipe/20067 armadillo fix cmake targets #20068
Conversation
🤖 Beep Boop! This pull request is making changes to 'recipes/armadillo//'. 👋 @samuel-emrys you might be interested. 😉 |
🤖 Beep Boop! This pull request is making changes to 'recipes/cmake//'. 👋 @Croydon you might be interested. 😉 |
🤖 Beep Boop! This pull request is making changes to 'recipes/elfio//'. 👋 @Hopobcn you might be interested. 😉 |
This obviously brings in too many commits. I'll fix these once the other armadillo PRs are merged. |
🤖 Beep Boop! This pull request is making changes to 'recipes/libalsa//'. 👋 @jwillikers you might be interested. 😉 |
🤖 Beep Boop! This pull request is making changes to 'recipes/libarchive//'. 👋 @jwillikers you might be interested. 😉 |
🤖 Beep Boop! This pull request is making changes to 'recipes/libcurl//'. 👋 @Hopobcn you might be interested. 😉 |
🤖 Beep Boop! This pull request is making changes to 'recipes/libdwarf//'. 👋 @Hopobcn you might be interested. 😉 |
🤖 Beep Boop! This pull request is making changes to 'recipes/libpng//'. 👋 @Hopobcn you might be interested. 😉 |
🤖 Beep Boop! This pull request is making changes to 'recipes/libunwind//'. 👋 @Hopobcn you might be interested. 😉 |
🤖 Beep Boop! This pull request is making changes to 'recipes/libxml2//'. 👋 @Hopobcn you might be interested. 😉 |
🤖 Beep Boop! This pull request is making changes to 'recipes/protobuf//'. 👋 @Hopobcn you might be interested. 😉 |
That's not true for CMake target. See #20067 (comment) |
These target names are defined by the public CMake module published by Kitware at https://cmake.org/cmake/help/latest/module/FindArmadillo.html
d8aeaf7
to
6f9c002
Compare
This comment has been minimized.
This comment has been minimized.
Add the following legacy CMake variables defined by the upstream FindArmadillo.cmake module published by Kitware - https://cmake.org/cmake/help/latest/module/FindArmadillo.html: * ARMADILLO_FOUND * ARMADILLO_INCLUDE_DIRS * ARMADILLO_LIBRARIES * ARMADILLO_VERSION_MAJOR * ARMADILLO_VERSION_MINOR * ARMADILLO_VERSION_PATCH * ARMADILLO_VERSION_STRING * ARMADILLO_VERSION_NAME
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Hooks produced the following warnings for commit f5f1404armadillo/12.6.4@#99258f7f6c86526c4f323f155fcec8e5
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@SpaceIm @RubenRBS a review would be appreciated, noting my comment in #20067 (comment) |
I detected other pull requests that are modifying armadillo/all recipe:
This message is automatically generated by https://github.com/ericLemanissier/conan-center-conflicting-prs so don't hesitate to report issues/improvements there. |
Add alias targets for wide compatibility with existing CMake scripts. The upstream CMake find module doesn't define what the name of the targets should be, so this provides coverage for the wide usage of different possible combinations found in the wild. This is based on inspection of target_link_library patterns for armadillo usage found on github.
… aliases * Make armadillo::armadillo the primary CMake target because the upstream CMake module doesn't enforce this behaviour, and the policy of CCI is to use packagename::packagename when no target is enforced * Make Armadillo::Armadillo and armadillo CMake target aliases as these are common in the wild, and this will facilitate conan package compatibility with existing build scripts. * Remove Armadillo::armadillo and Armadillo as CMake targets as these have not been observed in the wild.
This comment has been minimized.
This comment has been minimized.
…d reduce aliases" This reverts commit 64016f5.
* Remove Armadillo::armadillo and Armadillo as CMake targets as these have not been observed in the wild.
I've reverted back to using |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Conan v1 pipeline ✔️All green in build 1 (
|
Hooks produced the following warnings for commit b57d85barmadillo/10.7.0@#d4861960525bf94ce0b20f1e37a08ade
armadillo/10.7.3@#c71d65416818656632d0926795124556
armadillo/11.4.3@#3dbfcf0447d376e86bfba24109633ef7
|
Specify library name and version: armadillo/12.6.4
CMake has a published FindArmadillo.cmake module that defines the filename to be Armadillo and the target to be Armadillo::Armadillo. This is in contrast to the default recipe armadillo::armadillo currently used.
This should be updated to reflect the upstream convention. This recipe builds on top of #19907 so that it builds in conan 2. #19907 should be merged prior to this because of that.
This also sets the following custom cmake variables to align the usage of this package with the upstream cmake module:
Closes #20067