Skip to content

Commit 1b3287f

Browse files
committed
Rename tests option
1 parent b24e90a commit 1b3287f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

recipes/mpt-crypto/all/conanfile.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ class MptCryptoConan(ConanFile):
1414
options = {
1515
"shared": [True, False],
1616
"fPIC": [True, False],
17-
"with_tests": [True, False],
17+
"tests": [True, False],
1818
}
1919
default_options = {
2020
"shared": False,
2121
"fPIC": True,
22-
"with_tests": False,
22+
"tests": False,
2323
}
2424

2525
requires = [
@@ -40,7 +40,7 @@ def layout(self):
4040

4141
def generate(self):
4242
tc = CMakeToolchain(self)
43-
tc.variables["ENABLE_TESTS"] = self.options.with_tests
43+
tc.variables["ENABLE_TESTS"] = self.options.tests
4444
tc.generate()
4545

4646
deps = CMakeDeps(self)

0 commit comments

Comments
 (0)