Importing environmental variables to receipe


I am working with yocto  behind network proxy. Hence I want to pass the proxy variable (http_proxy) to recipe where cmake download some dependency. I tried to pass using BB_ENV_EXTRAWHITE .. but i haven't succeeded. Can someone suggest better option

Join { to automatically receive all group messages.