cmake fix windows upload

This commit is contained in:
Daniel Agar 2015-10-14 13:25:06 -04:00
parent 405d485f62
commit a3f207f515

View File

@ -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 ",")