Skip to content

Commit

Permalink
oidn
Browse files Browse the repository at this point in the history
  • Loading branch information
howetuft committed Dec 26, 2024
1 parent cbc2fc2 commit 64e5e82
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions deps/conan/oidn/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,14 @@ def generate(self):
tc.variables["OIDN_APPS"] = self.options.with_apps
if self.settings.os == "Linux":
tc.cache_variables["CMAKE_SKIP_BUILD_RPATH"] = True
tc.cache_variables["CMAKE_BUILD_RPATH_USE_ORIGIN"] = True
# tc.cache_variables["CMAKE_BUILD_RPATH_USE_ORIGIN"] = True
tc.cache_variables["CMAKE_BUILD_WITH_INSTALL_RPATH"] = True
tc.cache_variables["CMAKE_INSTALL_RPATH"] = "$ORIGIN/."
tc.cache_variables["CMAKE_INSTALL_RPATH"] = "\\\\\${ORIGIN}/."
if self.settings.os == "Macos":
# tc.cache_variables["CMAKE_SKIP_BUILD_RPATH"] = True
tc.cache_variables["CMAKE_INSTALL_RPATH"] = "\\\${ORIGIN}/."
tc.cache_variables["CMAKE_SKIP_RPATH"] = True
tc.cache_variables["CMAKE_INSTALL_RPATH"] = "\\\\\${ORIGIN}/."
# tc.cache_variables["CMAKE_SKIP_RPATH"] = True
tc.cache_variables["CMAKE_SKIP_BUILD_RPATH"] = True
tc.generate()

deps = CMakeDeps(self)
Expand Down

0 comments on commit 64e5e82

Please sign in to comment.