From a135a7ed428dc62c9a543d4252e338dc908a6981 Mon Sep 17 00:00:00 2001 From: Antonio Ferreras Date: Fri, 1 Sep 2023 15:26:54 -0400 Subject: [PATCH] Fix android build error --- taichi/ui/ggui/renderer.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/taichi/ui/ggui/renderer.h b/taichi/ui/ggui/renderer.h index b62dec7140cfa..2e07752d3aae8 100644 --- a/taichi/ui/ggui/renderer.h +++ b/taichi/ui/ggui/renderer.h @@ -33,7 +33,9 @@ #include "renderables/lines.h" #include "renderables/scene_lines.h" +#ifdef TI_WITH_METAL #include "nswindow_adapter.h" +#endif namespace taichi::lang { class Program;