scarrazza / apfel

A PDF Evolution Library
http://apfel.mi.infn.it/
GNU General Public License v3.0
12 stars 9 forks source link

CMakeLists.txt: use CMAKE_INSTALL_FULL_* to support absolute paths in CMAKE_INSTALL_* #54

Closed veprbl closed 11 months ago

veprbl commented 11 months ago

I have another small fix for a more obscure problem. This is for packaging setups where cmake is told to use full absolute installation paths (e.g. covers splitting devel and user packages).

CMAKEINSTALL* variables may be set to absolute paths, hence concatenating with CMAKE_INSTALL_PREFIX is not always valid.

https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html

scarrazza commented 11 months ago

Thanks @veprbl.