cmake build system: filter system paths from rpaths (#16612)

This commit is contained in:
Greg Becker 2020-05-13 14:31:33 -07:00 committed by Gregory Becker
parent b0dc57a939
commit 3c1379c985

View File

@ -608,7 +608,7 @@ def get_rpaths(pkg):
# module show output.
if pkg.compiler.modules and len(pkg.compiler.modules) > 1:
rpaths.append(get_path_from_module(pkg.compiler.modules[1]))
return rpaths
return list(dedupe(filter_system_paths(rpaths)))
def get_std_cmake_args(pkg):