From aa44b2fd1e824c38dd05a1758cc1cdcb1b25b5d2 Mon Sep 17 00:00:00 2001 From: Gold856 <117957790+Gold856@users.noreply.github.com> Date: Tue, 23 Jul 2024 10:29:18 -0400 Subject: [PATCH] [build] Don't build imgui for Athena (#6871) --- thirdparty/imgui_suite/build.gradle | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/thirdparty/imgui_suite/build.gradle b/thirdparty/imgui_suite/build.gradle index f5753c844e..f5ddcc9883 100644 --- a/thirdparty/imgui_suite/build.gradle +++ b/thirdparty/imgui_suite/build.gradle @@ -24,7 +24,6 @@ nativeUtils.platformConfigs.named('osxuniversal') { } model { - components { imgui(NativeLibrarySpec) { sources { @@ -50,6 +49,10 @@ model { } } binaries.all { + if (it.targetPlatform.name == nativeUtils.wpi.platforms.roborio) { + it.buildable = false + return + } if (toolChain in VisualCpp) { cppCompiler.args '-D_UNICODE', '-DUNICODE', '-DWIN32', '-D_WIN32', '-DSTRICT', '-DWIN32_LEAN_AND_MEAN', '-D_HAS_EXCEPTIONS=1' } else {