[CMake] [PATCH] slightly modify cache variable behaviour, Was: Re: option() behavior

Bill Hoffman bill.hoffman at kitware.com
Mon May 11 07:59:40 EDT 2009


So, CMake has done what it does now from the start.   There was a short 
period of time when it did not, and that was when a re-write was done, 
and it quickly broke some existing projects.  Here is the thread:

http://www.cmake.org/pipermail/cmake/2007-March/013204.html

I think the rule should be if you want to change a variable you have to 
have the set AFTER the variable, or use CACHE INTERNAL.

-Bill


More information about the CMake mailing list