def package_info(self):
    minor = self._minor_version()
    bindir = os.path.join(self.package_folder, 'bin')
    self.output.info('Appending PATH environment variable: {}'.format(bindir))
    self.env_info.PATH.append(bindir)
    self.env_info.CMAKE_ROOT = self.package_folder
    mod_path = os.path.join(self.package_folder, 'share', ('cmake-%s' % minor), 'Modules')
    self.env_info.CMAKE_MODULE_PATH = mod_path
    if (not os.path.exists(mod_path)):
        raise ConanException(('Module path not found: %s' % mod_path))
def package_info(self):
    minor = self._minor_version()
    bindir = os.path.join(self.package_folder, 'bin')
    self.output.info('Appending PATH environment variable: {}'.format(bindir))
    self.env_info.PATH.append(bindir)
    self.env_info.CMAKE_ROOT = self.package_folder
    mod_path = os.path.join(self.package_folder, 'share', ('cmake-%s' % minor), 'Modules')
    self.env_info.CMAKE_MODULE_PATH = mod_path
    if (not os.path.exists(mod_path)):
        raise ConanException(('Module path not found: %s' % mod_path))