Skip to content

Commit

Permalink
openvr: transitive_libs=True
Browse files Browse the repository at this point in the history
  • Loading branch information
valgur committed Sep 21, 2023
1 parent 5c252b9 commit 9bb4ec9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions recipes/openvr/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def layout(self):
cmake_layout(self, src_folder="src")

def requirements(self):
self.requires("jsoncpp/1.9.5")
self.requires("jsoncpp/1.9.5", transitive_libs=True)

def validate(self):
if self.settings.compiler.cppstd:
Expand All @@ -63,10 +63,10 @@ def source(self):

def generate(self):
tc = CMakeToolchain(self)
tc.variables["BUILD_SHARED"] = self.options.shared
tc.variables["BUILD_UNIVERSAL"] = False
tc.cache_variables["BUILD_SHARED"] = self.options.shared
tc.cache_variables["BUILD_UNIVERSAL"] = False
# Let Conan handle the stdlib setting, even if we are using libc++
tc.variables["USE_LIBCXX"] = False
tc.cache_variables["USE_LIBCXX"] = False
tc.generate()
tc = CMakeDeps(self)
tc.generate()
Expand Down

0 comments on commit 9bb4ec9

Please sign in to comment.