Is there a way to prevent CMake from automatically updating to the newest version without asking?
I install CMake on Windows using chocolatey, but even if I ‘choco pin’ it to a known working version, it still automatically updates to newer versions. This wasn’t really a problem until recently, but the update to 3.30.0 broke my builds and wasn’t fixed until 3.30.2 was released, and now the update to 3.31.0 has broken my builds again. I’d like to install CMake 3.30.5 and have it stick until I decide to update it manually.
Thanks, but the problem has nothing to do with chocolatey. For example, yesterday I installed CMake 3.30.5 from the msi package, and this morning that has been automatically replaced by 3.31.0. As far as I can tell, it’s CMake that’s updating itself, not any package manager.
OK, good to know. Earlier today as an experiment I “installed” CMake 3.30.5 from the zip archive instead of the Windows installer, to see if that would prevent the automatic updates. So far, so good.