]> granicus.if.org Git - icinga2/commit
cmake: Improve InstallConfig for stable path handling
authorMarkus Frosch <markus.frosch@icinga.com>
Tue, 31 Jul 2018 14:46:11 +0000 (16:46 +0200)
committerGunnar Beutner <gunnar.beutner@icinga.com>
Tue, 7 Aug 2018 12:09:49 +0000 (14:09 +0200)
commit1e4ee94f073c21476a9626c9c7d457a001d23373
tree4be43d7b8ff8c973a34bf13255267e6a8d066efc
parent8bac1dc99ecc7ceca3d06ff42edb9f2d6195f68f
cmake: Improve InstallConfig for stable path handling

* similar to install() a non absolute path is prefixed with CMAKE_INSTALL_PREFIX on runtime
* in case of CPack path with be prefixed with share/skel/
* DESTDIR is prefixed as well

Also see https://cmake.org/cmake/help/latest/command/install.html
cmake/InstallConfig.cmake