backend: Add rpaths for external 'cmake' deps

Fixes https://github.com/mesonbuild/meson/issues/12338
pull/12637/head
Jonathon Anderson 1 year ago committed by Dylan Baker
parent 9797f7682b
commit 57b7fbb29d
  1. 2
      mesonbuild/backend/backends.py

@ -764,7 +764,7 @@ class Backend:
srcdir = self.environment.get_source_dir()
for dep in target.external_deps:
if dep.type_name not in {'library', 'pkgconfig'}:
if dep.type_name not in {'library', 'pkgconfig', 'cmake'}:
continue
for libpath in dep.link_args:
# For all link args that are absolute paths to a library file, add RPATH args

Loading…
Cancel
Save