forked from Archive/PX4-Autopilot
Changes to suport Nuttx c++ lib rename
This commit is contained in:
parent
e505fe859d
commit
d294b40fcb
|
@ -52,7 +52,7 @@ list(APPEND nuttx_libs
|
|||
nuttx_binfmt
|
||||
nuttx_c
|
||||
nuttx_configs
|
||||
nuttx_cxx
|
||||
nuttx_xx
|
||||
nuttx_drivers
|
||||
nuttx_fs
|
||||
nuttx_mm
|
||||
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue