Skip to content

Commit

Permalink
workaround for conan-io/conan#13560
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceIm committed Nov 14, 2023
1 parent e8b7cef commit 44fd080
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions recipes/msdfgen/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ def generate(self):
tc.cache_variables["BUILD_SHARED_LIBS"] = self.options.shared
if Version(self.version) >= "1.11":
tc.cache_variables["MSDFGEN_DYNAMIC_RUNTIME"] = not is_msvc_static_runtime(self)
if self.settings.os == "Linux":
# Workaround for https://github.com/conan-io/conan/issues/13560
libdirs_host = [l for dependency in self.dependencies.host.values() for l in dependency.cpp_info.aggregated_components().libdirs]
tc.variables["CMAKE_BUILD_RPATH"] = ";".join(libdirs_host)
tc.generate()
deps = CMakeDeps(self)
deps.generate()
Expand Down

0 comments on commit 44fd080

Please sign in to comment.