We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 769ce5e commit ded6790Copy full SHA for ded6790
CMakeLists.txt
@@ -351,7 +351,9 @@ endif()
351
if(WITH_WPILIB)
352
set(APRILTAG_DEP_REPLACE "find_dependency(apriltag)")
353
set(WPILIBC_DEP_REPLACE "find_dependency(wpilibc)")
354
- set(WPILIBJ_DEP_REPLACE "find_dependency(wpilibj)")
+ if(WITH_JAVA)
355
+ set(WPILIBJ_DEP_REPLACE "find_dependency(wpilibj)")
356
+ endif()
357
set(WPILIBNEWCOMMANDS_DEP_REPLACE "find_dependency(wpilibNewCommands)")
358
add_subdirectory(apriltag)
359
add_subdirectory(wpilibj)
0 commit comments