Link rc against nuttx_fs in nuttx builds

Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
This commit is contained in:
Jukka Laitinen
2022-01-28 13:11:57 +02:00
committed by Daniel Agar
parent 9e999a39be
commit 32c53ff2dd
+4
View File
@@ -50,3 +50,7 @@ target_link_libraries(rc PRIVATE prebuild_targets)
if(PX4_TESTING AND (${PX4_PLATFORM} MATCHES "posix"))
add_subdirectory(rc_tests)
endif()
if(${PX4_PLATFORM} MATCHES "nuttx")
target_link_libraries(rc PRIVATE nuttx_fs)
endif()