Set a cache variable without changing the docstring
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
Currently you have to change the docstring to set a cache variable:
SET(CMAKE_BUILD_TYPE Debug CACHE STRING "default to debug" FORCE)
I think it would make sense if docstring was an optional parameter, so you could do this:
SET(CMAKE_BUILD_TYPE Debug CACHE FORCE)
Edited by Brad King