[CMake] ExternalProject_Add + BundleUtilities

Andrew Hundt athundt at gmail.com
Tue Jun 18 16:27:23 EDT 2013


I've been able to resolve the problem, and it was a rather simple error to
correct. My variable name for the library directory differed from the one
in find_package, so the path was not set correctly. My apologies.

Cheers!
Andrew Hundt


On Tue, Jun 18, 2013 at 12:47 PM, Jean-Christophe Fillion-Robin <
jchris.fillionr at kitware.com> wrote:

> Hi Andrew,
>
> I guess sharing an example of code would probably help people having the
> expertise to reproduce the issue and eventually answer.
>
> Jc
>
>
> On Tue, Jun 18, 2013 at 10:50 AM, Andrew Hundt <athundt at gmail.com> wrote:
>
>> Is this the right list to ask this question?
>>
>> Cheers!
>> Andrew Hundt
>>
>>
>> On Sat, Jun 15, 2013 at 12:56 PM, Andrew Hundt <athundt at gmail.com> wrote:
>>
>>> I''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'm getting the
>>> following error:
>>>
>>> warning: target 'libname.so' is not absolute...
>>> warning: target 'libname.so' does not exist...
>>> ldd: ./libname.so: No such file or directory
>>>
>>> I made sure to pass the path to the library to fixup_bundle(), how do I
>>> fix the problem?
>>>
>>> Cheers!
>>> Andrew Hundt
>>>
>>
>>
>> --
>>
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the CMake FAQ at:
>> http://www.cmake.org/Wiki/CMake_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.cmake.org/mailman/listinfo/cmake
>>
>
>
>
> --
> +1 919 869 8849
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130618/37c06274/attachment.htm>


More information about the CMake mailing list