mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 12:23:34 +08:00
uavcan cmake FATAL_ERROR if platform isn't set
- this indicates a build system error
This commit is contained in:
@@ -45,6 +45,10 @@ if(CONFIG_ARCH_CHIP)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(NOT DEFINED UAVCAN_PLATFORM)
|
||||
message(FATAL_ERROR "UAVCAN_PLATFORM not set")
|
||||
endif()
|
||||
|
||||
if(NOT config_uavcan_num_ifaces)
|
||||
message(FATAL_ERROR "config_uavcan_num_ifaces not set")
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user