From 0df249cee9ae77353bb5abb791477e706df5a23e Mon Sep 17 00:00:00 2001 From: Martin Valgur Date: Wed, 26 Jul 2023 23:23:40 +0300 Subject: [PATCH] libunifex: restore VirtualRunEnv in test_package --- recipes/libunifex/all/conanfile.py | 2 +- recipes/libunifex/all/test_package/conanfile.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/libunifex/all/conanfile.py b/recipes/libunifex/all/conanfile.py index bd1b01cefd5105..1ff4dd1f366ef9 100644 --- a/recipes/libunifex/all/conanfile.py +++ b/recipes/libunifex/all/conanfile.py @@ -106,6 +106,6 @@ def package_info(self): self.cpp_info.components["unifex"].names["cmake_find_package"] = "unifex" self.cpp_info.components["unifex"].names["cmake_find_package_multi"] = "unifex" - if self.settings.os == "Linux": + if self.settings.os in ["Linux", "FreeBSD"]: self.cpp_info.components["unifex"].system_libs = ["pthread"] # self.cpp_info.components["unifex"].requires.append("liburing::liburing") diff --git a/recipes/libunifex/all/test_package/conanfile.py b/recipes/libunifex/all/test_package/conanfile.py index fae501d0afb9e4..ef5d7042163ecc 100644 --- a/recipes/libunifex/all/test_package/conanfile.py +++ b/recipes/libunifex/all/test_package/conanfile.py @@ -6,7 +6,7 @@ class TestPackageConan(ConanFile): settings = "os", "arch", "compiler", "build_type" - generators = "CMakeDeps", "CMakeToolchain" + generators = "CMakeDeps", "CMakeToolchain", "VirtualRunEnv" test_type = "explicit" def requirements(self):