I&#39;&#39;m building a cmake library with ExternalProject_Add, then using add_library(IMPORTED) to import the target. Next, I use BundleUtilities to package the library with the rest of my software. However, I&#39;m getting the following error:<div>

<br></div><div><pre style="margin-top:0px;margin-bottom:10px;padding:5px;border:0px;font-size:14px;vertical-align:baseline;background-color:rgb(238,238,238);font-family:Consolas,Menlo,Monaco,&#39;Lucida Console&#39;,&#39;Liberation Mono&#39;,&#39;DejaVu Sans Mono&#39;,&#39;Bitstream Vera Sans Mono&#39;,&#39;Courier New&#39;,monospace,serif;overflow:auto;width:auto;max-height:600px;line-height:18px">

<code style="margin:0px;padding:0px;border:0px;vertical-align:baseline;font-family:Consolas,Menlo,Monaco,&#39;Lucida Console&#39;,&#39;Liberation Mono&#39;,&#39;DejaVu Sans Mono&#39;,&#39;Bitstream Vera Sans Mono&#39;,&#39;Courier New&#39;,monospace,serif">warning: target &#39;libname.so&#39; is not absolute...
warning: target &#39;libname.so&#39; does not exist...
ldd: ./libname.so: No such file or directory</code></pre><div><div>I made sure to pass the path to the library to fixup_bundle(), how do I fix the problem?</div><div><br></div>Cheers!<div>Andrew Hundt</div></div>
</div>