GetPrerequisites: Don't use hardcoded name for otool

This commit is contained in:
Alexander Grund
2018-12-30 15:08:49 +01:00
parent ae8525b82f
commit 428680da92

View File

@@ -850,7 +850,7 @@ function(get_prerequisites target prerequisites_var exclude_system recurse exepa
set(gp_install_id)
if(gp_tool STREQUAL "otool")
execute_process(
COMMAND otool -D ${target}
COMMAND ${gp_cmd} -D ${target}
RESULT_VARIABLE otool_rv
OUTPUT_VARIABLE gp_install_id_ov
ERROR_VARIABLE otool_ev