[build] cmake: Default WITH_JAVA_SOURCE to WITH_JAVA (#6005)

This commit is contained in:
Peter Johnson
2023-12-03 20:14:34 -08:00
committed by GitHub
parent d431abba3b
commit 9bc5fcf886

View File

@@ -59,7 +59,7 @@ endif("${isSystemDir}" STREQUAL "-1")
# Options for building certain parts of the repo. Everything is built by default.
option(BUILD_SHARED_LIBS "Build with shared libs (needed for JNI)" ON)
option(WITH_JAVA "Include Java and JNI in the build" ON)
option(WITH_JAVA_SOURCE "Build Java source jars" ON)
option(WITH_JAVA_SOURCE "Build Java source jars" ${WITH_JAVA})
option(WITH_CSCORE "Build cscore (needs OpenCV)" ON)
option(WITH_NTCORE "Build ntcore" ON)
option(WITH_WPIMATH "Build wpimath" ON)