[CMake] We shouldn't be storing values in the cache unless they actually need CMake...