build: require at least wlroots 0.17.1
There are enough bugs fixed in 0.17.1 which are relevant to river that I think it's worthwhile to refuse to compile against 0.17.1.
This commit is contained in:
@ -29,6 +29,12 @@ const util = @import("util.zig");
|
||||
|
||||
const Server = @import("Server.zig");
|
||||
|
||||
comptime {
|
||||
if (wlr.version.major != 0 or wlr.version.minor != 17 or wlr.version.micro < 1) {
|
||||
@compileError("river requires at least wlroots version 0.17.1 due to bugs in wlroots 0.17.0");
|
||||
}
|
||||
}
|
||||
|
||||
const usage: []const u8 =
|
||||
\\usage: river [options]
|
||||
\\
|
||||
|
Reference in New Issue
Block a user