Skip to content

Commit

Permalink
openni2: add the drivers dir to bindirs
Browse files Browse the repository at this point in the history
  • Loading branch information
valgur committed Apr 27, 2024
1 parent d3f1544 commit 2a7f72a
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions recipes/openni2/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,8 @@ def package_info(self):
self.cpp_info.set_property("pkg_config_name", "libopenni2")

self.cpp_info.libs = ["OpenNI2"]
self.cpp_info.includedirs = ["include", os.path.join("include", "openni2")]
self.cpp_info.libdirs = ["lib", os.path.join("lib", "OpenNI2", "Drivers")]
self.cpp_info.includedirs.append(os.path.join("include", "openni2"))
self.cpp_info.bindirs.append(os.path.join("lib", "OpenNI2", "Drivers"))
self.cpp_info.resdirs = ["res"]
if self.settings.os in ["Linux", "FreeBSD"]:
self.cpp_info.system_libs.extend(["pthread", "m", "dl"])

# Do not link against the driver dynamic libs in lib/OpenNI2/Drivers.
# self.cpp_info.libs = ["DummyDevice", "OniFile", "PS1080", "PSLink"]

0 comments on commit 2a7f72a

Please sign in to comment.