Skip to content

Commit

Permalink
Changes to suport Nuttx c++ lib rename
Browse files Browse the repository at this point in the history
  • Loading branch information
David Sidrane committed Jan 25, 2019
1 parent e505fe8 commit d294b40
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions platforms/nuttx/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ list(APPEND nuttx_libs
nuttx_binfmt
nuttx_c
nuttx_configs
nuttx_cxx
nuttx_xx
nuttx_drivers
nuttx_fs
nuttx_mm
Expand All @@ -79,7 +79,7 @@ target_link_libraries(nuttx_arch
)

target_link_libraries(nuttx_c INTERFACE nuttx_drivers)
target_link_libraries(nuttx_cxx INTERFACE nuttx_c)
target_link_libraries(nuttx_xx INTERFACE nuttx_c)

target_link_libraries(px4 PRIVATE

Expand Down
2 changes: 1 addition & 1 deletion platforms/nuttx/cmake/px4_impl_os.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ function(px4_os_prebuild_targets)
endif()

add_library(prebuild_targets INTERFACE)
target_link_libraries(prebuild_targets INTERFACE nuttx_cxx nuttx_c nuttx_fs nuttx_mm nuttx_sched m gcc)
target_link_libraries(prebuild_targets INTERFACE nuttx_xx nuttx_c nuttx_fs nuttx_mm nuttx_sched m gcc)
add_dependencies(prebuild_targets DEPENDS nuttx_context uorb_headers)

# parse nuttx config options for cmake
Expand Down

0 comments on commit d294b40

Please sign in to comment.