core: enable testing with gamemode on linux
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
341b9e0b28
commit
c112466cb5
1 changed files with 4 additions and 0 deletions
|
|
@ -36,6 +36,10 @@ pub fn Sdk(comptime deps: anytype) type {
|
||||||
}
|
}
|
||||||
main_tests.addModule("glfw", deps.glfw.module(b));
|
main_tests.addModule("glfw", deps.glfw.module(b));
|
||||||
try deps.glfw.link(b, main_tests, .{});
|
try deps.glfw.link(b, main_tests, .{});
|
||||||
|
if (target.isLinux()) {
|
||||||
|
main_tests.addModule("gamemode", deps.gamemode.module(b));
|
||||||
|
deps.gamemode.link(main_tests);
|
||||||
|
}
|
||||||
main_tests.addIncludePath(sdkPath("/include"));
|
main_tests.addIncludePath(sdkPath("/include"));
|
||||||
main_tests.install();
|
main_tests.install();
|
||||||
return main_tests.run();
|
return main_tests.run();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue