Skip to content

Respect relative/absolute CMAKE_INSTALL_INCLUDEDIR#209

Open
r-burns wants to merge 1 commit into
AppImageCommunity:masterfrom
r-burns:cmake
Open

Respect relative/absolute CMAKE_INSTALL_INCLUDEDIR#209
r-burns wants to merge 1 commit into
AppImageCommunity:masterfrom
r-burns:cmake

Conversation

@r-burns

@r-burns r-burns commented Jun 14, 2026

Copy link
Copy Markdown

CMAKE_INSTALL_INCLUDEDIR is already used in some places, but not consistently, causing headers to be installed to multiple locations when it is specified differently from the default "include" value.

Additionally, upstream GNUInstallDirs documentation notes that install dirs may be specified as relative (to install prefix) or absolute paths, so we should only append to the install prefix when non-absolute paths are given.

CMAKE_INSTALL_INCLUDEDIR is already used in some places, but not
consistently, causing headers to be installed to multiple locations when
it is specified differently from the default "include" value.

Additionally, upstream GNUInstallDirs documentations notes that install
dirs may be specified as relative (to install prefix) or absolute paths,
so we should only append to the install prefix when non-absolute paths
are given.
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.

1 participant