mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-01 23:51:36 +08:00
Fixed config check.
This commit is contained in:
+1
-3
@@ -127,12 +127,10 @@ foreach(cmd ${px4_required_interface})
|
|||||||
endif()
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
set(px4_required_config
|
set(px4_required_config
|
||||||
config_firmware_options
|
|
||||||
config_extra_builtin_cmds
|
|
||||||
config_module_list
|
config_module_list
|
||||||
)
|
)
|
||||||
foreach(conf ${px4_required_config})
|
foreach(conf ${px4_required_config})
|
||||||
if(NOT DEFINED conf)
|
if(NOT DEFINED ${conf})
|
||||||
message(FATAL_ERROR "cmake/${config_module} must define ${conf}")
|
message(FATAL_ERROR "cmake/${config_module} must define ${conf}")
|
||||||
endif()
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|||||||
Reference in New Issue
Block a user