mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-30 11:04:08 +08:00
Dependencies update for linux/cmake
This commit is contained in:
parent
b6d145aa35
commit
1bf41b135d
@ -26,7 +26,7 @@ if (TARGET uavcan)
|
||||
set(UAVCAN_LIB uavcan)
|
||||
include_directories(${libuavcan_SOURCE_DIR}/include
|
||||
${libuavcan_SOURCE_DIR}/include/dsdlc_generated)
|
||||
else ()
|
||||
else ()-
|
||||
message(STATUS "Using installed uavcan library")
|
||||
find_library(UAVCAN_LIB uavcan REQUIRED)
|
||||
endif ()
|
||||
@ -65,4 +65,5 @@ target_link_libraries(uavcan_nodetool ${UAVCAN_LIB} rt ${CMAKE_THREAD_LIBS_INIT}
|
||||
|
||||
install(TARGETS uavcan_status_monitor
|
||||
uavcan_nodetool
|
||||
RUNTIME DESTINATION bin)
|
||||
RUNTIME DESTINATION bin)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user