mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-02 11:59:17 +08:00
Show fatal error for tools missing
This commit is contained in:
@@ -3,7 +3,7 @@ foreach(tool nm ld)
|
|||||||
string(TOUPPER ${tool} TOOL)
|
string(TOUPPER ${tool} TOOL)
|
||||||
find_program(${TOOL} ${tool})
|
find_program(${TOOL} ${tool})
|
||||||
if(NOT ${TOOL})
|
if(NOT ${TOOL})
|
||||||
#message(FATAL_ERROR "could not find ${tool}")
|
message(FATAL_ERROR "could not find ${tool}")
|
||||||
endif()
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user