From 1cd16a6ec2eaf511b9c0a7f225706b2e26a4144a Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Sat, 13 Apr 2024 18:56:35 +0900 Subject: [PATCH] Update cmake-rs --- docker/test/fixtures/rust/Cargo.toml | 3 ++- docker/test/fixtures/rust/libhello_cmake/CMakeLists.txt | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docker/test/fixtures/rust/Cargo.toml b/docker/test/fixtures/rust/Cargo.toml index 29c73dbe..2114d374 100644 --- a/docker/test/fixtures/rust/Cargo.toml +++ b/docker/test/fixtures/rust/Cargo.toml @@ -10,7 +10,8 @@ cpp = [] # https://github.com/rust-lang/cc-rs/issues/959 cc = "=1.0.83" # TODO: 0.1.49 fails for android -cmake = "=0.1.48" +# cmake = "=0.1.48" +cmake = { git = "https://github.com/rust-lang/cmake-rs.git", rev = "00e6b220342a8b0ec4548071928ade38fd5f691b" } # cmake-rs 0.1.48 + https://github.com/rust-lang/cmake-rs/pull/146 [lints.rust] rust_2018_idioms = "warn" diff --git a/docker/test/fixtures/rust/libhello_cmake/CMakeLists.txt b/docker/test/fixtures/rust/libhello_cmake/CMakeLists.txt index ec3ead04..623d9b36 100644 --- a/docker/test/fixtures/rust/libhello_cmake/CMakeLists.txt +++ b/docker/test/fixtures/rust/libhello_cmake/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.0) +cmake_minimum_required(VERSION 3.0) add_library ( hello_cmake