Commit 83a1f0a9 authored by Brad King's avatar Brad King Committed by Kitware Robot

Merge topic 'BundleUtilities-fix-osx-rpath'

a479d7a0 BundleUtilities: Fix handling of multiple RPATHs from OS X otool
parents 4395190c a479d7a0
......@@ -424,7 +424,9 @@ function(get_item_rpaths item rpaths_var)
string(REGEX MATCHALL "rpath [^\n]+" load_cmds_ov "${load_cmds_ov}")
string(REGEX REPLACE "rpath " "" load_cmds_ov "${load_cmds_ov}")
if(load_cmds_ov)
gp_append_unique(${rpaths_var} "${load_cmds_ov}")
foreach(rpath ${load_cmds_ov})
gp_append_unique(${rpaths_var} "${rpath}")
endforeach()
endif()
endif()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment