Skip to content

Commit

Permalink
openldap: restore VirtualRunEnv in test_package
Browse files Browse the repository at this point in the history
  • Loading branch information
valgur committed Oct 24, 2023
1 parent a281313 commit 4f791be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion recipes/openldap/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def requirements(self):
self.requires("cyrus-sasl/2.1.27")

def validate(self):
if self.settings.os != "Linux":
if self.settings.os not in ["Linux", "FreeBSD"]:
raise ConanInvalidConfiguration(f"{self.name} is only supported on Linux")
if self.settings.compiler.cppstd:
check_min_cppstd(self, 11)
Expand Down
2 changes: 1 addition & 1 deletion recipes/openldap/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 4f791be

Please sign in to comment.