Skip to content

File set: Allow absolute CMAKE_INSTALL_INCLUDEDIR

When install(TARGETS) and install(EXPORT) were called with file sets and an absolute CMAKE_INSTALL_INCLUDEDIR, "${_IMPORT_PREFIX}/" was still being prepended to the base directory and files, resulting in incorrect paths. Don't prepend this when absolute paths are used.

Fixes: #25010 (closed)

Merge request reports