cmake-gui removes 'UNINITIALIZED' cache variables
If 'cmake -D FOO=ON' is called a cache entry for FOO gets created. (in cache file as: FOO:UNINITIALIZED=ON
)
When cmake-gui with this build dir is started, the cache entry is not shown in the list of cache variable. But more importantly: When 'generate' is pressed the cache entry is removed from the cache (file)!
Subsequent calls to cmake will not see FOO again.
If the type of FOO is given (-D FOO:String=ON) everything works as expected.
Edited by Nagger X