mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-30 04:06:33 +08:00
microRTPS_agent_CMakeLists.txt.em: add install section
This commit is contained in:
@@ -53,3 +53,11 @@ endif()
|
|||||||
file(GLOB MICRORTPS_AGENT_SOURCES src/*.cpp src/*.h)
|
file(GLOB MICRORTPS_AGENT_SOURCES src/*.cpp src/*.h)
|
||||||
add_executable(micrortps_agent ${MICRORTPS_AGENT_SOURCES})
|
add_executable(micrortps_agent ${MICRORTPS_AGENT_SOURCES})
|
||||||
target_link_libraries(micrortps_agent fastrtps fastcdr)
|
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
|
||||||
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user