diff options
author | Alexander Grund <git@grundis.de> | 2018-12-30 14:08:49 (GMT) |
---|---|---|
committer | Alexander Grund <git@grundis.de> | 2018-12-30 14:08:49 (GMT) |
commit | 428680da92b98755be1a908ee4a5d705d8753bb9 (patch) | |
tree | 4c389a6b94bf6c1c2f70714e1116ca0ec96b5331 /Modules/GetPrerequisites.cmake | |
parent | ae8525b82f03d3ce0c1e880e62bec0956f90839b (diff) | |
download | CMake-428680da92b98755be1a908ee4a5d705d8753bb9.zip CMake-428680da92b98755be1a908ee4a5d705d8753bb9.tar.gz CMake-428680da92b98755be1a908ee4a5d705d8753bb9.tar.bz2 |
GetPrerequisites: Don't use hardcoded name for otool
Diffstat (limited to 'Modules/GetPrerequisites.cmake')
-rw-r--r-- | Modules/GetPrerequisites.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/GetPrerequisites.cmake b/Modules/GetPrerequisites.cmake index 5b32f7c..8d54fed 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 |