fix: std_format Conan option can be removed in configure
This commit is contained in:
1 parent
d04d546b17
commit
9448ef52b9
1 file changed
+1
-1
+1
-1
@@ -239,7 +239,7 @@ class MPUnitsConan(ConanFile):
|
||||
raise ConanInvalidConfiguration(
|
||||
"'contracts' should be set to 'none' to use `import std;`"
|
||||
)
|
||||
if not self.options.std_format:
|
||||
if not self.options.get_safe("std_format", default=True):
|
||||
raise ConanInvalidConfiguration(
|
||||
"'std_format' should be enabled to use `import std;`"
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user