Skip to content

Commit

Permalink
sleef: restore VirtualRunEnv in test_package
Browse files Browse the repository at this point in the history
  • Loading branch information
valgur committed Jul 26, 2023
1 parent 13175fa commit 8923ed8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion recipes/sleef/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,5 @@ def package_info(self):
self.cpp_info.libs = ["sleef"]
if self.settings.os == "Windows" and not self.options.shared:
self.cpp_info.defines = ["SLEEF_STATIC_LIBS"]
if self.settings.os == "Linux":
if self.settings.os in ["Linux", "FreeBSD"]:
self.cpp_info.system_libs = ["m"]
2 changes: 1 addition & 1 deletion recipes/sleef/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 8923ed8

Please sign in to comment.