Skip to content

Commit

Permalink
mavlink_passthrough: fix mavlink include path
Browse files Browse the repository at this point in the history
  • Loading branch information
julianoes committed Feb 6, 2019
1 parent 66becb9 commit 6cbc659
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion example/battery/CMakeLists.txt
Expand Up @@ -8,7 +8,6 @@ if(NOT MSVC)
#include_directories(/usr/local/include)
# Line below required if /usr/local/lib is not in your default linker path
#link_directories(/usr/local/lib)
include_directories(/usr/local/include/dronecode_sdk/include/)
else()
add_definitions("-std=c++11 -WX -W2")
include_directories(${CMAKE_SOURCE_DIR}/../../install/include)
Expand Down
4 changes: 2 additions & 2 deletions plugins/mavlink_passthrough/CMakeLists.txt
Expand Up @@ -17,8 +17,8 @@ install(FILES
)

install(DIRECTORY
../../third_party/mavlink/include
DESTINATION ${dronecode_sdk_install_include_dir}
../../third_party/mavlink/include/mavlink
DESTINATION ${dronecode_sdk_install_include_dir}/plugins/mavlink_passthrough
)

install(TARGETS dronecode_sdk_mavlink_passthrough
Expand Down

0 comments on commit 6cbc659

Please sign in to comment.