Skip to content

Commit 2aaadf5

Browse files
[Windows,Ubuntu] Unpin the cmake version (#12953)
1 parent 6f04fd4 commit 2aaadf5

File tree

4 files changed

+2
-5
lines changed

4 files changed

+2
-5
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\")" "3.31.6")
17+
download_url=$(resolve_github_release_asset_url "Kitware/CMake" "endswith(\"inux-x86_64.sh\")" "latest")
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\")" "3.31.6")
21+
hash_url=$(resolve_github_release_asset_url "Kitware/CMake" "endswith(\"SHA-256.txt\")" "latest")
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: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,6 @@
402402
},
403403
{
404404
"name": "cmake.install",
405-
"version": "3.31.6",
406405
"args": [ "--installargs", "ADD_CMAKE_TO_PATH=\"System\"" ]
407406
},
408407
{ "name": "imagemagick" },

images/windows/toolsets/toolset-2022.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,6 @@
326326
},
327327
{
328328
"name": "cmake.install",
329-
"version": "3.31.6",
330329
"args": [ "--installargs", "ADD_CMAKE_TO_PATH=\"System\"" ]
331330
},
332331
{ "name": "imagemagick" },

images/windows/toolsets/toolset-2025.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,6 @@
289289
},
290290
{
291291
"name": "cmake.install",
292-
"version": "3.31.6",
293292
"args": [ "--installargs", "ADD_CMAKE_TO_PATH=\"System\"" ]
294293
},
295294
{

0 commit comments

Comments
 (0)