mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
cmake fix windows upload
This commit is contained in:
@@ -421,7 +421,8 @@ function(px4_add_upload)
|
|||||||
)
|
)
|
||||||
elseif(${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Windows")
|
elseif(${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Windows")
|
||||||
foreach(port RANGE 32 0)
|
foreach(port RANGE 32 0)
|
||||||
list(APPEND "COM${port}")
|
list(APPEND serial_ports
|
||||||
|
"COM${port}")
|
||||||
endforeach()
|
endforeach()
|
||||||
endif()
|
endif()
|
||||||
px4_join(OUT serial_ports LIST "${serial_ports}" GLUE ",")
|
px4_join(OUT serial_ports LIST "${serial_ports}" GLUE ",")
|
||||||
|
|||||||
Reference in New Issue
Block a user