I knew I was missing something :)
Thanks for the answers, work perfectly now !
Ben.
On 2010-03-09 12:27, Benoit Thomas wrote:
Hello,
I have a library which is a Visual Studio project only (which will be
converted to cmake in the future).
In my current cmake project, I try adding this libra
On Tuesday 09 March 2010, Benoit Thomas wrote:
> Hello,
>
> I have a library which is a Visual Studio project only (which will be
> converted to cmake in the future).
>
> In my current cmake project, I try adding this library using the
> following code:
>
> set (IMPORTED_LOCATION "../farfaraway/lib
IMPORTED_LOCATION is a target property, not a variable - use
set_target_properties after your add_library, see the docs for more info.
Ryan
On Tue, Mar 9, 2010 at 11:27 AM, Benoit Thomas
wrote:
> Hello,
>
> I have a library which is a Visual Studio project only (which will be
> converted to cmak
On 9. Mar, 2010, at 18:27 , Benoit Thomas wrote:
> Hello,
>
> I have a library which is a Visual Studio project only (which will be
> converted to cmake in the future).
>
> In my current cmake project, I try adding this library using the following
> code:
>
> set (IMPORTED_LOCATION "../farfa
Hello,
I have a library which is a Visual Studio project only (which will be
converted to cmake in the future).
In my current cmake project, I try adding this library using the
following code:
set (IMPORTED_LOCATION "../farfaraway/lib")
add_library ("mylib" STATIC IMPORTED)
When I run cmak