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