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

install exiv2 cmake module in LIBDIR #2819

Merged
merged 1 commit into from
Nov 6, 2023
Merged

install exiv2 cmake module in LIBDIR #2819

merged 1 commit into from
Nov 6, 2023

Conversation

kloczek
Copy link
Contributor

@kloczek kloczek commented Nov 6, 2023

installed cmake module contains arch dependent library description.
It should be installed not in DATADIR but in LIBDIR.

installed cmake module contains arch dependent library description.
It should be installed not in DATADIR but in LIBDIR.

Signed-off-by: Tomasz Kłoczko <[email protected]>
@ghost
Copy link

ghost commented Nov 6, 2023

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

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map legend

@kmilos
Copy link
Collaborator

kmilos commented Nov 6, 2023

CMake will look for these files in multiple locations, so not an error per se, but I guess this might be a matter of preference...

Not sure why it was changed though, I think it was LIBDIR before 0.28.1?

@kmilos kmilos added the CMake Configuration issues related with CMake label Nov 6, 2023
@kmilos
Copy link
Collaborator

kmilos commented Nov 6, 2023

See #2703 @neheb @Ryanf55

@kloczek
Copy link
Contributor Author

kloczek commented Nov 6, 2023

Not sure why it was changed though, I think it was LIBDIR before 0.28.1?

In 0.28.0 was in libdir.

@Ryanf55
Copy link
Contributor

Ryanf55 commented Nov 6, 2023

Go for it. This was a mistake on my end; seems like a majority are installed in lib not share. As stated, this doesn't affect behavior for users since both are supported by CMake.

On ubuntu 22:

$ find /usr/ -type f -name *Config.cmake | grep /usr/share | wc -l
11
$ find /usr/ -type f -name *Config.cmake | grep /usr/lib | wc -l
77

@neheb neheb merged commit 3e977c5 into Exiv2:main Nov 6, 2023
58 of 59 checks passed
@kloczek
Copy link
Contributor Author

kloczek commented Nov 6, 2023

Thank you 👍

@kmilos
Copy link
Collaborator

kmilos commented Nov 7, 2023

@mergify backport 0.28.x

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.

4 participants