On Wed, Apr 02, 2014 at 03:41:56PM -0700, Andreas Lauser wrote:
> 
> > You should set UG_DIR (or was it ug_DIR) to the place where the ug-config*.cmake files reside and simply use find_package(ug) in package cpnfiguration mode below
> 
> Also, the module cannot be named FindUG then, because this will lead to an infinite recursion...

Couldn't this prevented by using config mode (find_package(<module>
CONFIG)) which only searches for <module>-config*.cmake files.