cmake improve ROMFS dependencies for px4io inclusion (#8860)

- fixes #8858
This commit is contained in:
Daniel Agar
2018-02-09 12:57:34 -05:00
committed by GitHub
parent 782ed5d324
commit f7a17ad5e5
3 changed files with 14 additions and 6 deletions

View File

@@ -94,9 +94,6 @@ target_link_libraries(${FW_NAME}
if (config_romfs_root)
add_subdirectory(${PX4_SOURCE_DIR}/ROMFS ${PX4_BINARY_DIR}/ROMFS)
target_link_libraries(${FW_NAME} romfs)
if (config_io_board)
add_dependencies(romfs copy_px4io_bin)
endif()
endif()
# create px4 file (combined firmware and metadata)