libCurl no such file Xcode

Hey,
I added the search header path to COCOS2DX_ROOT… It still says curl/curl.h no such file or directory. Is there anything else that i need to add…
I also downloaded libcurl seperately, since it can’t find the mac inbuild curl.
Now when i run the command on terminal
$curl-config —libs
it shows me lcurl
But when i put
lcurl into Other linker flags it shows error, library -lcurl not found.