From 3a23f444823e01a0427534db3674dc10c8c85e4a Mon Sep 17 00:00:00 2001 From: Martin Valgur Date: Thu, 21 Sep 2023 22:47:10 +0300 Subject: [PATCH] openvr: transitive_libs=True --- recipes/openvr/all/conanfile.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/recipes/openvr/all/conanfile.py b/recipes/openvr/all/conanfile.py index 68a67f386389e8..77963eaf7fc7bb 100644 --- a/recipes/openvr/all/conanfile.py +++ b/recipes/openvr/all/conanfile.py @@ -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: @@ -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()