From 10fcef02752ad46b53dd22025420048a0278322d Mon Sep 17 00:00:00 2001 From: Florian Apolloner Date: Sun, 5 Mar 2017 00:05:06 +0100 Subject: [PATCH] BundleUtilities: Fix bundle verification on Unix by considering rpaths. --- Modules/BundleUtilities.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Modules/BundleUtilities.cmake b/Modules/BundleUtilities.cmake index 1ec06f1b47..121a8f015b 100644 --- a/Modules/BundleUtilities.cmake +++ b/Modules/BundleUtilities.cmake @@ -1008,7 +1008,8 @@ function(verify_bundle_prerequisites bundle result_var info_var) endif() if(NOT ignoreFile) - get_prerequisites("${f}" prereqs 1 1 "${exepath}" "") + get_item_rpaths(${f} _main_exe_rpaths) + get_prerequisites("${f}" prereqs 1 1 "${exepath}" "${_main_exe_rpaths}") # On the Mac, # "embedded" and "system" prerequisites are fine... anything else means