Skip to content

cmake: Use GNUInstallDirs to install data directories#41

Open
tgurr wants to merge 1 commit into
acmel:masterfrom
tgurr:cmake
Open

cmake: Use GNUInstallDirs to install data directories#41
tgurr wants to merge 1 commit into
acmel:masterfrom
tgurr:cmake

Conversation

@tgurr

@tgurr tgurr commented Apr 12, 2023

Copy link
Copy Markdown

Solves issues with cross environments where prefix is set to e.g. -DCMAKE_INSTALL_PREFIX:PATH=/usr/x86_64-pc-linux-gnu and the arch independent files would end up under the prefix as well instead of /usr/share.

Note: variables offered by CMake GNUInstallDirs could probably be used for the various other stuff as well like for getting rid of the __lib hack by using CMAKE_INSTALL_LIBDIR but I just wanted to solve an actual issue I ran across with this PR.

@acmel

acmel commented Apr 12, 2023 via email

Copy link
Copy Markdown
Owner

@tgurr

tgurr commented Apr 12, 2023

Copy link
Copy Markdown
Author

Can I add a Signed-off-by: you Tothe patch?

@acmel Sure yes, whatever you want. Also please tell if I should rather do it myself if that's easier for you.

@acmel

acmel commented Apr 12, 2023 via email

Copy link
Copy Markdown
Owner

@tgurr

tgurr commented May 16, 2023

Copy link
Copy Markdown
Author

Can I add a Signed-off-by: you To the patch?

@acmel I've updated the PR to add the requested Signed-off-by.

@tgurr

tgurr commented Oct 25, 2024

Copy link
Copy Markdown
Author

Gentle ping.

Signed-off-by: Timo Gurr <timo.gurr@gmail.com>
@tgurr

tgurr commented Dec 18, 2024

Copy link
Copy Markdown
Author

Updated to not duplicate the include(GNUInstallDirs) now that it has recently been added with a2abd94

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants