Skip to content

Commit

Permalink
Merge pull request #1911 from mavlink/pr-backport-v1.4-1819
Browse files Browse the repository at this point in the history
[Backport v1.4] cmake: install mavlink headers in correct dir
  • Loading branch information
julianoes authored Oct 10, 2022
2 parents bd80ac8 + cf126ad commit 534b34b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 5 additions & 0 deletions src/mavsdk/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,11 @@ install(FILES
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/mavsdk"
)

install(DIRECTORY
${MAVLINK_HEADERS}/mavlink
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/mavsdk
)

list(APPEND UNIT_TEST_SOURCES
${PROJECT_SOURCE_DIR}/mavsdk/core/mavsdk_time_test.cpp
${PROJECT_SOURCE_DIR}/mavsdk/core/mavsdk_math_test.cpp
Expand Down
5 changes: 0 additions & 5 deletions src/mavsdk/plugins/mavlink_passthrough/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,3 @@ install(FILES
${CMAKE_CURRENT_BINARY_DIR}/../../../mavsdk/core/mavlink_include.h
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/mavsdk/plugins/mavlink_passthrough
)

install(DIRECTORY
${MAVLINK_HEADERS}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/mavsdk/plugins/mavlink_passthrough
)

0 comments on commit 534b34b

Please sign in to comment.