소스 검색

GetPrerequisites: Don't use hardcoded name for otool

Alexander Grund 6 년 전
부모
커밋
428680da92
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Modules/GetPrerequisites.cmake

+ 1 - 1
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