add cmake modules to find BAT and CUBA