From 428680da92b98755be1a908ee4a5d705d8753bb9 Mon Sep 17 00:00:00 2001 From: Alexander Grund Date: Sun, 30 Dec 2018 15:08:49 +0100 Subject: GetPrerequisites: Don't use hardcoded name for otool --- Modules/GetPrerequisites.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/GetPrerequisites.cmake b/Modules/GetPrerequisites.cmake index 5b32f7ce1e..8d54feda87 100644 --- a/Modules/GetPrerequisites.cmake +++ b/Modules/GetPrerequisites.cmake @@ -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 -- cgit v1.2.1