diff options
author | Florian Apolloner <florian@apolloner.eu> | 2017-03-04 23:05:06 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-03-10 15:59:16 (GMT) |
commit | 10fcef02752ad46b53dd22025420048a0278322d (patch) | |
tree | d98c11cc22981e2bc4fcb8badeebc3787b373095 /Modules/BundleUtilities.cmake | |
parent | ac0786cb9ae40f73323b448e405b053a83770de0 (diff) | |
download | CMake-10fcef02752ad46b53dd22025420048a0278322d.zip CMake-10fcef02752ad46b53dd22025420048a0278322d.tar.gz CMake-10fcef02752ad46b53dd22025420048a0278322d.tar.bz2 |
BundleUtilities: Fix bundle verification on Unix by considering rpaths.
Diffstat (limited to 'Modules/BundleUtilities.cmake')
-rw-r--r-- | Modules/BundleUtilities.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/BundleUtilities.cmake b/Modules/BundleUtilities.cmake index 1ec06f1..121a8f0 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 |