[CMake] remove variable from cache?

Roland Koebler r.koebler at yahoo.de
Fri Apr 20 18:22:02 EDT 2007


hi,

is there any way to remove a variable from the cache, or alternatively
don't show a cached value in ccmake?
or can I tell FIND_PATH not to create a cache entry?

(this would be i.e. useful in some FindXXX.cmake files, where
 several FIND_PATHs are used and all found paths then are
 combined in XXX_INCLUDE_DIRS. and it's ugly if both
 XXX_INCLUDE_DIRS and all the single paths appear in
 ccmake.)


regards,
Roland



More information about the CMake mailing list