František Kučera <franta-hg@frantovo.cz> [Tue, 18 Dec 2018 22:02:53 +0100] rev 28
cmake: install
Projects can be build using (PREFIX and VERSION are optional):
rm -rf /tmp/relpipe/ && rm -rf ../xxx/* && cmake -DCMAKE_INSTALL_PREFIX:PATH=/tmp/relpipe/usr -DPROJECT_VERSION=1.2.3 ../../ && make && make install && find /tmp/relpipe/ -type f
INSTALL_RPATH_USE_LINK_PATH will retain the build-time paths to libraries and get rid of the message: 'Set runtime path of .. to ""'.