Skip to content

Commit 9cf284d

Browse files
authored
Switch default Ninja minimal version to a reasonable value (#1897)
The previous value (3.5.1) doesn't make much sense and it being that broke systems like FreeBSD which didn't have a tool download link.
1 parent 99a7272 commit 9cf284d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vcpkg/tools.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ namespace vcpkg
488488
virtual bool is_abi_sensitive() const override { return false; }
489489
virtual StringView tool_data_name() const override { return Tools::NINJA; }
490490
virtual std::vector<StringView> system_exe_stems() const override { return {Tools::NINJA}; }
491-
virtual std::array<int, 3> default_min_version() const override { return {3, 5, 1}; }
491+
virtual std::array<int, 3> default_min_version() const override { return {1, 12, 1}; }
492492
#if !defined(_WIN32)
493493
virtual void add_system_paths(DiagnosticContext&,
494494
const ReadOnlyFilesystem&,

0 commit comments

Comments
 (0)