change:add "git" depend in package.xml file to trigger ros jenkins install git

This commit is contained in:
Livox-SDK
2019-05-05 17:57:23 +08:00
parent ad565df2d6
commit 8e43c5ed56
2 changed files with 14 additions and 0 deletions

View File

@@ -192,6 +192,18 @@ if((NOT LIVOX_SDK_LIBRARY) OR (NOT EXISTS ${LIVOX_SDK_LIBRARY}))
./lib_backup ./lib_backup
) )
# clone livox sdk source code from github
execute_process(COMMAND mkdir -p ${CMAKE_CURRENT_SOURCE_DIR}/Livox-SDK OUTPUT_VARIABLE cmd_res)
message("Try to pull the livox sdk source code from github")
FOREACH(res ${cmd_res})
MESSAGE(${res})
ENDFOREACH()
execute_process(COMMAND git clone https://github.com/Livox-SDK/Livox-SDK.git ${CMAKE_CURRENT_SOURCE_DIR}/Livox-SDK)
FOREACH(res ${cmd_res})
MESSAGE(${res})
ENDFOREACH()
## add lidar project here ## add lidar project here
add_executable(${PROJECT_LIDAR}_node add_executable(${PROJECT_LIDAR}_node
${PROJECT_LIDAR_SRC} ${PROJECT_LIDAR_SRC}

View File

@@ -65,6 +65,8 @@
<exec_depend>message_runtime</exec_depend> <exec_depend>message_runtime</exec_depend>
<depend>sensor_msgs</depend> <depend>sensor_msgs</depend>
<depend>git</depend>
<depend>apr</depend>
<!-- The export tag contains other, unspecified, tags --> <!-- The export tag contains other, unspecified, tags -->
<export> <export>