def MakeFindPackage(modules):
    """
    Make a useful find_package command.
    """
    # Print a useful cmake command
    res = 'find_package(VTK COMPONENTS\n'
    for module in sorted(modules):
        res += '  ' + module.replace('VTK::', 'vtk') + '\n'
    res += ')'
    return res