mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-27 03:08:35 -06:00
GetPrerequisites: Don't use hardcoded name for otool
This commit is contained in:
@@ -850,7 +850,7 @@ function(get_prerequisites target prerequisites_var exclude_system recurse exepa
|
|||||||
set(gp_install_id)
|
set(gp_install_id)
|
||||||
if(gp_tool STREQUAL "otool")
|
if(gp_tool STREQUAL "otool")
|
||||||
execute_process(
|
execute_process(
|
||||||
COMMAND otool -D ${target}
|
COMMAND ${gp_cmd} -D ${target}
|
||||||
RESULT_VARIABLE otool_rv
|
RESULT_VARIABLE otool_rv
|
||||||
OUTPUT_VARIABLE gp_install_id_ov
|
OUTPUT_VARIABLE gp_install_id_ov
|
||||||
ERROR_VARIABLE otool_ev
|
ERROR_VARIABLE otool_ev
|
||||||
|
|||||||
Reference in New Issue
Block a user