Dependencies update for linux/cmake

This commit is contained in:
postal 2015-02-06 19:42:26 +01:00
parent b6d145aa35
commit 1bf41b135d

View File

@ -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)