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 633156f commit d131c80
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
10 changes: 6 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -165,16 +165,18 @@ INSTALL(
if(LINUX)
set_property(
TARGET oidn-denoise
PROPERTY INSTALL_RPATH
"$ORIGIN/../pyluxcore.libs"
PROPERTY INSTALL_RPATH "$ORIGIN/../pyluxcore.libs"
)
endif(LINUX)

if(APPLE)
set_property(
TARGET oidn-denoise
PROPERTY INSTALL_RPATH
"$ORIGIN/../pyluxcore/.pylibs"
PROPERTY BUILD_RPATH ""
)
set_property(
TARGET oidn-denoise
PROPERTY INSTALL_RPATH "$ORIGIN/../pyluxcore/.pylibs"
)
endif(APPLE)

Expand Down
2 changes: 2 additions & 0 deletions conan-profiles/conan-profile-common
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ tools.cmake.cmaketoolchain:extra_variables={'CMAKE_BUILD_RPATH_USE_ORIGIN': True
tools.build:verbosity=verbose
tools.system.package_manager:mode=install
tools.deployer:symlinks=True
tools.build:sharedlinkflags=["-VERBOSE"]
tools.build:exelinkflags=["-VERBOSE"]

[platform_tool_requires]
cmake/*
Expand Down
2 changes: 0 additions & 2 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,9 @@ def package(self):
save(self, os.path.join(self.package_folder, "dummy.txt"), "Hello World")

def package_info(self):
self.conf_info.define("cmake.build:verbosity", "debug")

self.conf_info.define("tools.build:sharedlinkflags", ["-VERBOSE"])
self.conf_info.define("tools.build:exelinkflags", ["-VERBOSE"])
self.conf_info.define("tools.build:verbosity", "verbose")
if self.settings.os == "Linux":
self.cpp_info.libs = [
"pyluxcore",
Expand Down

0 comments on commit d131c80

Please sign in to comment.