Skip to content

Commit

Permalink
libunifex: restore VirtualRunEnv in test_package
Browse files Browse the repository at this point in the history
  • Loading branch information
valgur committed Oct 23, 2023
1 parent 53e59b1 commit 0df249c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion recipes/libunifex/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
2 changes: 1 addition & 1 deletion recipes/libunifex/all/test_package/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 0df249c

Please sign in to comment.