mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-15 19:07:34 +08:00
Link rc against nuttx_fs in nuttx builds
nuttx_fs is not part of prebuild_targets in protected/kernel builds Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
This commit is contained in:
@@ -45,6 +45,11 @@ target_compile_options(rc
|
||||
#-DDEBUG_BUILD
|
||||
-Wno-unused-result
|
||||
)
|
||||
|
||||
if (${PX4_PLATFORM} MATCHES "nuttx")
|
||||
target_link_libraries(rc PRIVATE nuttx_fs)
|
||||
endif()
|
||||
|
||||
target_link_libraries(rc PRIVATE prebuild_targets)
|
||||
|
||||
if(PX4_TESTING AND (${PX4_PLATFORM} MATCHES "posix"))
|
||||
|
||||
Reference in New Issue
Block a user