mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-24 01:31:46 +00:00
[build] Fix wpilibNewCommands CMake install (#5671)
This commit is contained in:
@@ -12,6 +12,7 @@ WPILib is normally built with Gradle, however for some systems, such as Linux ba
|
||||
* halsim
|
||||
* wpigui
|
||||
* wpimath
|
||||
* wpilibNewCommands
|
||||
|
||||
By default, all libraries except for the HAL and WPILib get built with a default CMake setup. The libraries are built as shared libraries, and include the JNI libraries as well as building the Java JARs.
|
||||
|
||||
|
||||
@@ -11,3 +11,4 @@ find_dependency(Threads)
|
||||
@CAMERASERVER_DEP_REPLACE@
|
||||
@HAL_DEP_REPLACE@
|
||||
@WPILIBC_DEP_REPLACE@
|
||||
@WPILIBNEWCOMMANDS_DEP_REPLACE@
|
||||
|
||||
@@ -23,7 +23,7 @@ if (WITH_JAVA)
|
||||
set (wpilibNewCommands_config_dir share/wpilibNewCommands)
|
||||
endif()
|
||||
|
||||
install(FILES wpilibNewCommands-config.cmake DESTINATION ${wpilibNewCommands_config_dir})
|
||||
install(FILES ${WPILIB_BINARY_DIR}/wpilibNewCommands-config.cmake DESTINATION ${wpilibNewCommands_config_dir})
|
||||
endif()
|
||||
|
||||
file(GLOB_RECURSE wpilibNewCommands_native_src src/main/native/cpp/*.cpp)
|
||||
|
||||
Reference in New Issue
Block a user