mirror of
https://github.com/overte-org/overte.git
synced 2025-08-12 20:59:59 +02:00
Work around libnode not being linked on Linux.
This commit is contained in:
parent
1ddb78dfb5
commit
c980a85c55
2 changed files with 7 additions and 2 deletions
|
@ -200,4 +200,9 @@ class libnodeConan(ConanFile):
|
|||
|
||||
def package_info(self):
|
||||
self.cpp_info.includedirs = ["include", "include/node"]
|
||||
self.cpp_info.libs = collect_libs(self)
|
||||
if self.settings.os == "Linux":
|
||||
# Hack to work around collect_libs() not being able to deal with .so.x.y.z files.
|
||||
# See: https://github.com/conan-io/conan/pull/17816
|
||||
self.cpp_info.libs = ['libnode.so.108']
|
||||
else: # Windows and macOS
|
||||
self.cpp_info.libs = collect_libs(self)
|
||||
|
|
|
@ -56,7 +56,7 @@ class Overte(ConanFile):
|
|||
self.requires("gli/cci.20210515")
|
||||
self.requires("glslang/11.7.0")
|
||||
self.requires("liblo/0.30@overte/stable")
|
||||
self.requires("libnode/18.20.6@overte/stable#85a7e34916bfaa1b699f59f2e8721e9e")
|
||||
self.requires("libnode/18.20.6@overte/stable#1c374c03d65adf57819f337944c7a0d3")
|
||||
self.requires("nlohmann_json/3.11.2")
|
||||
self.requires("nvidia-texture-tools/2023.01@overte/stable")
|
||||
self.requires("onetbb/2021.10.0")
|
||||
|
|
Loading…
Reference in a new issue