Skip to content

Commit 9f4ce9f

Browse files
Cruxial0danieldk
authored andcommitted
Update cmake version policy to 3.10
1 parent 35ee9b9 commit 9f4ce9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentencepiece-sys/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ macro_rules! feature(($name:expr) => (env::var(concat!("CARGO_FEATURE_", $name))
77

88
fn build_sentencepiece(builder: &mut Build) {
99
let mut config = Config::new("source");
10-
config.define("CMAKE_POLICY_VERSION_MINIMUM", "3.5");
10+
config.define("CMAKE_POLICY_VERSION_MINIMUM", "3.10");
1111
if builder.get_compiler().is_like_msvc() {
1212
config.profile("Release");
1313
if env::var("CARGO_CFG_TARGET_FEATURE")

0 commit comments

Comments
 (0)