Skip to content
Snippets Groups Projects
Commit 83a1f0a9 authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'BundleUtilities-fix-osx-rpath'

a479d7a0 BundleUtilities: Fix handling of multiple RPATHs from OS X otool
parents 4395190c a479d7a0
No related branches found
No related tags found
No related merge requests found
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment