[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.
This commit is contained in:
Peter Johnson
2022-01-09 20:26:54 -08:00
committed by GitHub
parent cf7460c3a8
commit a3a0334fad

View File

@@ -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)