mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-03 20:34:26 +02:00
fix: validate()
replaced with configure()
to raise errors during conan install
in Conan 1.X
This commit is contained in:
@@ -110,7 +110,8 @@ class MPUnitsConan(ConanFile):
|
|||||||
if self.options.build_docs:
|
if self.options.build_docs:
|
||||||
self.tool_requires("doxygen/1.9.2")
|
self.tool_requires("doxygen/1.9.2")
|
||||||
|
|
||||||
def validate(self):
|
# TODO Replace with `valdate()` for Conan 2.0 (https://github.com/conan-io/conan/issues/10723)
|
||||||
|
def configure(self):
|
||||||
compiler = self.settings.compiler
|
compiler = self.settings.compiler
|
||||||
version = Version(self.settings.compiler.version)
|
version = Version(self.settings.compiler.version)
|
||||||
if compiler == "gcc":
|
if compiler == "gcc":
|
||||||
|
Reference in New Issue
Block a user