mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
microRTPS_agent_CMakeLists.txt.em: add install section
This commit is contained in:
parent
a9e918c7b2
commit
f76086ffa1
@ -53,3 +53,11 @@ endif()
|
||||
file(GLOB MICRORTPS_AGENT_SOURCES src/*.cpp src/*.h)
|
||||
add_executable(micrortps_agent ${MICRORTPS_AGENT_SOURCES})
|
||||
target_link_libraries(micrortps_agent fastrtps fastcdr)
|
||||
|
||||
# Install to '/usr/local/bin' if `make install` is used
|
||||
install(
|
||||
TARGETS micrortps_agent
|
||||
ARCHIVE DESTINATION lib
|
||||
RUNTIME DESTINATION bin
|
||||
LIBRARY DESTINATION lib
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user