def configure(self):
    if ((self.settings.os == 'Macos') and (self.settings.arch == 'x86')):
        raise ConanInvalidConfiguration('CMake does not support x86 for macOS')
    minimal_cpp_standard = '11'
    if self.settings.compiler.cppstd:
        tools.check_min_cppstd(self, minimal_cpp_standard)
    minimal_version = {'gcc': '5', 'clang': '3.3', 'apple-clang': '9', 'Visual Studio': '14'}
    compiler = str(self.settings.compiler)
    if (compiler not in minimal_version):
        self.output.warn('{} recipe lacks information about the {} compiler standard version support'.format(self.name, compiler))
        self.output.warn('{} requires a compiler that supports at least C++{}'.format(self.name, minimal_cpp_standard))
        return
    version = tools.Version(self.settings.compiler.version)
    if (version < minimal_version[compiler]):
        raise ConanInvalidConfiguration('{} requires a compiler that supports at least C++{}'.format(self.name, minimal_cpp_standard))
def configure(self):
    if ((self.settings.os == 'Macos') and (self.settings.arch == 'x86')):
        raise ConanInvalidConfiguration('CMake does not support x86 for macOS')
    minimal_cpp_standard = '11'
    if self.settings.compiler.cppstd:
        tools.check_min_cppstd(self, minimal_cpp_standard)
    minimal_version = {'gcc': '5', 'clang': '3.3', 'apple-clang': '9', 'Visual Studio': '14'}
    compiler = str(self.settings.compiler)
    if (compiler not in minimal_version):
        self.output.warn('{} recipe lacks information about the {} compiler standard version support'.format(self.name, compiler))
        self.output.warn('{} requires a compiler that supports at least C++{}'.format(self.name, minimal_cpp_standard))
        return
    version = tools.Version(self.settings.compiler.version)
    if (version < minimal_version[compiler]):
        raise ConanInvalidConfiguration('{} requires a compiler that supports at least C++{}'.format(self.name, minimal_cpp_standard))