From c62863cf749ebff054e66e965e82e996b17e7773 Mon Sep 17 00:00:00 2001 From: Jade Date: Wed, 10 Jul 2024 00:25:31 +0800 Subject: [PATCH] [build] Fix CMake build for wpilibNewCommands (#6815) --- wpilibNewCommands/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wpilibNewCommands/CMakeLists.txt b/wpilibNewCommands/CMakeLists.txt index 5b82b2f5ff6..18495fbd99c 100644 --- a/wpilibNewCommands/CMakeLists.txt +++ b/wpilibNewCommands/CMakeLists.txt @@ -9,12 +9,14 @@ if(WITH_JAVA) include(UseJava) file(GLOB_RECURSE JAVA_SOURCES src/main/java/*.java src/generated/main/java/*.java) + file(GLOB JACKSON_JARS "${WPILIB_BINARY_DIR}/wpiutil/thirdparty/jackson/*.jar") add_jar( wpilibNewCommands_jar ${JAVA_SOURCES} INCLUDE_JARS hal_jar ntcore_jar + ${JACKSON_JARS} cscore_jar cameraserver_jar wpimath_jar