From a3a0334fada8a20f5efcb89aab5a4a1028aadbe6 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Sun, 9 Jan 2022 20:26:54 -0800 Subject: [PATCH] [build] cmake: Move fieldImages to WITH_GUI (#3885) This will only ever be used by GUI applications, and the jar build method it uses can misbehave in some cross-compile scenarios. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9d9cccc54a..5296f0209c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -247,7 +247,6 @@ if (WITH_TESTS) include(GoogleTest) endif() -add_subdirectory(fieldImages) add_subdirectory(wpiutil) add_subdirectory(ntcore) @@ -256,6 +255,7 @@ if (WITH_WPIMATH) endif() if (WITH_GUI) + add_subdirectory(fieldImages) add_subdirectory(imgui) add_subdirectory(wpigui) add_subdirectory(glass)