Skip to content

Commit 6d4f6ce

Browse files
Revert "[Windows,Ubuntu] Unpin the cmake version (#12953)" (#13032)
1 parent 18a0044 commit 6d4f6ce

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

images/ubuntu/scripts/build/install-cmake.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ if command -v cmake; then
1414
echo "cmake is already installed"
1515
else
1616
# Download script to install CMake
17-
download_url=$(resolve_github_release_asset_url "Kitware/CMake" "endswith(\"inux-x86_64.sh\")" "latest")
17+
download_url=$(resolve_github_release_asset_url "Kitware/CMake" "endswith(\"inux-x86_64.sh\")" "3.31.6")
1818
curl -fsSL "${download_url}" -o cmakeinstall.sh
1919

2020
# Supply chain security - CMake
21-
hash_url=$(resolve_github_release_asset_url "Kitware/CMake" "endswith(\"SHA-256.txt\")" "latest")
21+
hash_url=$(resolve_github_release_asset_url "Kitware/CMake" "endswith(\"SHA-256.txt\")" "3.31.6")
2222
external_hash=$(get_checksum_from_url "$hash_url" "linux-x86_64.sh" "SHA256")
2323
use_checksum_comparison "cmakeinstall.sh" "$external_hash"
2424

images/windows/toolsets/toolset-2019.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,7 @@
403403
},
404404
{
405405
"name": "cmake.install",
406+
"version": "3.31.6",
406407
"args": [ "--installargs", "ADD_CMAKE_TO_PATH=\"System\"" ]
407408
},
408409
{ "name": "imagemagick" },

images/windows/toolsets/toolset-2022.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,7 @@
327327
},
328328
{
329329
"name": "cmake.install",
330+
"version": "3.31.6",
330331
"args": [ "--installargs", "ADD_CMAKE_TO_PATH=\"System\"" ]
331332
},
332333
{ "name": "imagemagick" },

images/windows/toolsets/toolset-2025.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,7 @@
290290
},
291291
{
292292
"name": "cmake.install",
293+
"version": "3.31.6",
293294
"args": [ "--installargs", "ADD_CMAKE_TO_PATH=\"System\"" ]
294295
},
295296
{

0 commit comments

Comments
 (0)