From 63591224f0531386cc46ebb8a6e5b91430194e9d Mon Sep 17 00:00:00 2001 From: yamashi Date: Thu, 3 Feb 2022 15:04:31 +0100 Subject: [PATCH] fix: linux build should not include imgui --- Code/components/imgui/xmake.lua | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Code/components/imgui/xmake.lua b/Code/components/imgui/xmake.lua index e4cbbd0b7..97e5d2195 100644 --- a/Code/components/imgui/xmake.lua +++ b/Code/components/imgui/xmake.lua @@ -1,2 +1,5 @@ -component("ImGuiImpl") - add_packages("imgui") \ No newline at end of file + +if is_plat("windows") then + component("ImGuiImpl") + add_packages("imgui") +end