[cmake-developers] [Review request] Topic install_CMAKE_INSTALL_RELATIVE

Brad King brad.king at kitware.com
Mon Dec 22 16:25:02 EST 2014


On 12/22/2014 03:28 PM, Domen Vrankar wrote:
> Maybe others will disagree but to be quite honest I myself don't think
> that CMAKE_INSTALL_RELATIVE variable would be the right solution... I
> myself prefer to write install commands with relative paths and I
> guess that something like that should be fixed in CMakeLists.txt and
> contributed to projects that use absolute paths and not add a new
> variable for doing this...

I agree.  If a project uses absolute install paths that means its
authors have not thought about making relocatable packages.  There
could be many other problems with making such projects relocatable
other than just install rules.

-Brad



More information about the cmake-developers mailing list