How to use zlib

Could someone pls explain me how to include ZLIB (found in the external Folder of Cocos2dx) into my Xcode Cocos2dx (c++) Project.
I couldn’t find any hint for this.

in my cocos2dx v3.8 project

#include "zlib\include\zlib.h"