nuttx cmake: include upload.cmake if it exists (same as on posix)

This commit is contained in:
Beat Küng 2021-03-31 11:25:11 +02:00
parent 5b08362ba3
commit e9370c658a
No known key found for this signature in database
GPG Key ID: 866DB5F0E24821BB
1 changed files with 4 additions and 0 deletions

View File

@ -298,3 +298,7 @@ include(blackmagic)
include(jlink)
include(profile)
include(stack_check)
if(EXISTS "${PX4_BOARD_DIR}/cmake/upload.cmake")
include(${PX4_BOARD_DIR}/cmake/upload.cmake)
endif()