mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-17 01:06:08 +03:00
fix build with libadwaita disabled
This commit is contained in:
@ -1,6 +1,6 @@
|
|||||||
const c = @cImport({
|
const c = @cImport({
|
||||||
@cInclude("gtk/gtk.h");
|
@cInclude("gtk/gtk.h");
|
||||||
@cInclude("libadwaita-1/adwaita.h");
|
if (@import("build_options").libadwaita) @cInclude("libadwaita-1/adwaita.h");
|
||||||
});
|
});
|
||||||
|
|
||||||
pub usingnamespace c;
|
pub usingnamespace c;
|
||||||
|
Reference in New Issue
Block a user