Brian Cashman entered the Winter Meetings searching for rotation help and exited without it.

Yet just because baseball’s meat market has closed doesn’t mean the Yankees general manager won’t land a starting pitcher or two.

According to a person with knowledge of the situation, the Yankees and Pirates are discussing a deal that would bring right-hander Gerrit Cole from Pittsburgh and possibly would include outfielder Clint Frazier leaving The Bronx.

The Pirates are expected to deal outfielder Andrew McCutchen, so they are looking for an outfielder who has power. While Frazier may not qualify as a legitimate power threat, hitting gurus believe his bat speed — which Cashman labeled “legendary’’ when acquiring the 23-year-old from the Indians in 2016 — will lead to more homers with regular playing time.

Elevated to the big leagues in July, Frazier hit .290 with three homers and 13 RBIs with a .871 OPS in his first 18 games. He suffered an oblique muscle injury on Aug. 8 and didn’t return until Sept. 12. In 39 big league games, Frazier hit .231 with four homers and 17 RBIs.

The Pirates also are looking for a pitcher ready to work in the majors and the closest to that in the Yankees’ system is right-hander Chance Adams, who some view as a reliever even though he went 11-5 with a 2.89 ERA in 21 Triple-A starts after posting a 4-0 record and 1.03 ERA in six Double-A starts.