The fixture was confirmed after the Cameroonians rounded off the group stage with a pulsating 3-2 victory over the Gambia on Tuesday night.
By the win, they finished Group C with four points behind Senegal, while Guinea, who lost to the Teranga Lions on Tuesday, also qualified for the knockout as one of the best losers.
The Super Eagles of Nigeria reached the knockout stage after beating Guinea-Bissau 1-0 on Monday.
The team finished Group A with seven points behind the surprise package, Equatorial Guinea.
In the game at the Stade de la Paix, Cameroon scored twice with time ticking away to snatch a dramatic win, one that eliminated Ghana from the tournament.
In an amazing finish in Bouake, Ebrima Colley scored on 85 minutes to put Gambia 2-1 up, only for Joseph Gomez to concede his own goal before an added-time Christopher Wooh goal won a thriller.
Although Cameroon are 80 places above the Gambia in the world rankings, they came under considerable first-half pressure and were lucky to be level at 0-0 by half-time.