[cmake-developers] RFC/Review Request: Topic GNUInstallDirs_debian-multiarch-fix
Daniele E. Domenichelli
daniele.domenichelli at gmail.com
Tue Jan 14 11:47:31 EST 2014
On 13/01/14 16:51, Brad King wrote:
> On 01/13/2014 10:23 AM, Daniele E. Domenichelli wrote:
>> Can I store CMAKE_INSTALL_PREFIX in an internal cached variable, check
>> if it was changed since last run (i.e. CMAKE_INSTALL_PREFIX_OLD !=
>> CMAKE_INSTALL_PREFIX), check if the value is the default one, and
>> eventually force-set it to the new default?
>
> Yes, that should work. Call it something internal-sounding
> like __LAST_CMAKE_INSTALL_PREFIX.
Updated the topic to behave in this way. Can you please review it again?
By the way, this is not the first time that I need to know if the value
of a cached variable changed since the previous run, maybe it could be
useful to have a standard way to do it...
Cheers,
Daniele
More information about the cmake-developers
mailing list