[CMake] Restoring a FORCE variable.. but only once!

Alexander Neundorf a.neundorf-work at gmx.net
Mon Jun 11 08:42:41 EDT 2007


On Friday 08 June 2007 22:05, Iacopo Palazzi wrote:
....
> I found out a method using some script-tricks, but I don't like it and I'd
> like to know if there is a built-int method fot that!

Have a look here at the _SET_FANCY macro:
http://websvn.kde.org/trunk/KDE/kdelibs/cmake/modules/FindKDE4Internal.cmake?revision=668049&view=markup

Here the specialized installation dirs depend on CMAKE_INSTALL_PREFIX, until 
they are set explicitely to custom values.

Bye
Alex


More information about the CMake mailing list