Update CMake variables