On Mon, Jan 27, 2014 at 12:58 PM,
<[email protected]> wrote:
>>>>>> "Chris" == Chris Morgan <[email protected]> writes:
>
>     Chris> Hello.  How would I go about having my cmake program link against
>     Chris> the static version of libftdi? I'd like to ship my utility to
>     Chris> some people here in house and not have them have to go through a
>     Chris> process to get libftdi on their systems (fedora doesn't have
>     Chris> libftdi 1.x available in f19 (and f20 either I think)).
>
> I am using Findlibftdi.cmake
> # Copyright 2009  SoftPLC Corporation  http://softplc.com
> # Dick Hollenbeck <[email protected]>
> # License: GPL v2
>
> I have
> set(USE_STATIC_FTDI ON)
> in CMakeLists.txt for a static build.
>
> Bye
> --
> Uwe Bonnes                [email protected]



Ahh. So this isn't something supported by the script invoked when you do:

find_package(LibFTDI1 NO_MODULE REQUIRED)

the cmake script included with libftdi itself?

I'll have to give that script a try here.

Chris

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to [email protected]   

Reply via email to