title: How can we pass a ${BASEWORK} directory from Bitbake recipe to CMAKE for using find library function from CMAKE?
body: <p>I want to pass a variable <code>BASEWORKDIR</code>  yocto recipe variable to CMake so that it can search for library in a particular folder using <code>find_library()</code> function  for .so library. But it is not working. I printed it also I.e for debugging the Cmake file <code>message(${BASEWORKDIR})</code> but this variable is empty. This variable is defined in Bitbake.conf file in my yocto system.</p>