Use this command: set(CACHE). Its still undocumented but works for me so far.