added cuda for cmake version less 3.0