mirror of
https://github.com/mpusz/mp-units.git
synced 2025-07-30 02:17:16 +02:00
fix: std_format
Conan option can be removed in configure
This commit is contained in:
@ -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