mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-12-02 06:10:45 +08:00
cmake fix windows upload
This commit is contained in:
1 parent
405d485f62
commit
a3f207f515
1 file changed
+2
-1
@@ -421,7 +421,8 @@ function(px4_add_upload)
|
||||
)
|
||||
elseif(${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Windows")
|
||||
foreach(port RANGE 32 0)
|
||||
list(APPEND "COM${port}")
|
||||
list(APPEND serial_ports
|
||||
"COM${port}")
|
||||
endforeach()
|
||||
endif()
|
||||
px4_join(OUT serial_ports LIST "${serial_ports}" GLUE ",")
|
||||
|
||||
Reference in new issue
Block a user