We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8b7cef commit 44fd080Copy full SHA for 44fd080
recipes/msdfgen/all/conanfile.py
@@ -80,6 +80,10 @@ def generate(self):
80
tc.cache_variables["BUILD_SHARED_LIBS"] = self.options.shared
81
if Version(self.version) >= "1.11":
82
tc.cache_variables["MSDFGEN_DYNAMIC_RUNTIME"] = not is_msvc_static_runtime(self)
83
+ if self.settings.os == "Linux":
84
+ # Workaround for https://github.com/conan-io/conan/issues/13560
85
+ libdirs_host = [l for dependency in self.dependencies.host.values() for l in dependency.cpp_info.aggregated_components().libdirs]
86
+ tc.variables["CMAKE_BUILD_RPATH"] = ";".join(libdirs_host)
87
tc.generate()
88
deps = CMakeDeps(self)
89
deps.generate()
0 commit comments