mirror of
https://github.com/mpusz/mp-units.git
synced 2025-07-31 02:47: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(
|
raise ConanInvalidConfiguration(
|
||||||
"'contracts' should be set to 'none' to use `import std;`"
|
"'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(
|
raise ConanInvalidConfiguration(
|
||||||
"'std_format' should be enabled to use `import std;`"
|
"'std_format' should be enabled to use `import std;`"
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user