[cmake] Add helper for finding potentially external projects