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

cmake: restore a "exiv2lib" target (backport #2832) #2870

Merged
merged 1 commit into from
Dec 26, 2023

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Dec 26, 2023

This is an automatic backport of pull request #2832 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

Commit a8c3455 and
commit eb05551 changed the target of
the exiv2 library ("exiv2lib"), exporting it in the "Exiv2" namespace,
so making it usable as "Exiv2::exiv2lib" instead. An ALIAS to "exiv2lib"
was added, however cmake does not install or export ALIAS targets [1].

Hence, restore compatibility with the existing cmake users of exiv2:
manually create an ALIAS target in the cmake config files after all the
targets are loaded and checked.

[1] https://cmake.org/cmake/help/latest/command/add_library.html

(cherry picked from commit 130064d)
@ghost
Copy link

ghost commented Dec 26, 2023

👇 Click on the image for a new way to code review

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map legend

Copy link

codecov bot commented Dec 26, 2023

Codecov Report

Attention: 7 lines in your changes are missing coverage. Please review.

Comparison is base (72129e7) 63.99% compared to head (4bd1984) 63.98%.
Report is 8 commits behind head on 0.28.x.

Files Patch % Lines
src/rafimage.cpp 0.00% 6 Missing ⚠️
src/datasets.cpp 66.66% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           0.28.x    #2870      +/-   ##
==========================================
- Coverage   63.99%   63.98%   -0.02%     
==========================================
  Files         103      103              
  Lines       22338    22340       +2     
  Branches    10821    10822       +1     
==========================================
- Hits        14296    14294       -2     
- Misses       5818     5822       +4     
  Partials     2224     2224              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@neheb neheb merged commit 768ef30 into 0.28.x Dec 26, 2023
107 of 108 checks passed
@mergify mergify bot deleted the mergify/bp/0.28.x/pr-2832 branch December 26, 2023 23:52
@kmilos kmilos added this to the v0.28.2 milestone Jan 3, 2024
@kmilos kmilos added the CMake Configuration issues related with CMake label Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CMake Configuration issues related with CMake
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants