Skip to content

cmake: use GNUInstallDirs#3105

Merged
obiltschnig merged 1 commit intopocoproject:develfrom
lopsided98:cmake-gnuinstalldirs
Jan 25, 2022
Merged

cmake: use GNUInstallDirs#3105
obiltschnig merged 1 commit intopocoproject:develfrom
lopsided98:cmake-gnuinstalldirs

Conversation

@lopsided98
Copy link
Copy Markdown
Contributor

POCO currently hardcodes the installation directories relative to the installation prefix. This makes it impossible to split the installation; for example to install the libraries and headers to different prefixes.

This PR makes POCO use the standard GNUInstallDirs mechanism to specify the installation directories.

The only user visible impact of this should be that anyone who explicitly passes LIB_SUFFIX to the build will have to use CMAKE_INSTALL_LIBDIR instead.

@lopsided98
Copy link
Copy Markdown
Contributor Author

I updated the patch to fix another hardcoded reference to include.

@obiltschnig obiltschnig self-assigned this Oct 12, 2020
@obiltschnig obiltschnig added this to the Release 1.11.0 milestone Oct 12, 2020
@bachp
Copy link
Copy Markdown
Member

bachp commented Jan 25, 2022

@obiltschnig I think it makes sense to merge this. Maybe we should even rebase this against the 1.11 branch

@obiltschnig obiltschnig merged commit 7e11825 into pocoproject:devel Jan 25, 2022
@bachp bachp mentioned this pull request Jan 25, 2022
@gocarlos
Copy link
Copy Markdown

great

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.

4 participants