def METHOD_NAME(self):
    env = Env.get_update_env()
    self._cmake = env['CMAKE']
    self._cpp   = env['CPP_COMPILER']
    self._c     = env['C_COMPILER']
    try:
        out = subprocess.check_output([self._cmake, '--version'])
    except OSError:
        raise RuntimeError("CMake must be installed to build the following extensions: " +
                           ", ".join(e.name for e in self.extensions))
    if platform.system() == "Windows":
        raise RuntimeError('Windows not supported yet')
    else:
        cmake_version = LooseVersion(
            re.search(r'version\s*([\d.]+)', out.decode())
            .group(1)
        )
        if cmake_version < '3.5.0':
            raise RuntimeError("CMake >= 3.5.0 is required")
    for ext in self.extensions:
        self.build_extension(ext)