libftdi Archives

Subject: Re: static linking against libftdi?

From: bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Mon, 27 Jan 2014 18:58:50 +0100
>>>>> "Chris" == Chris Morgan <chmorgan@xxxxxxxxx> 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 <d...@xxxxxxxxxxx>
# License: GPL v2

I have 
set(USE_STATIC_FTDI ON)
in CMakeLists.txt for a static build.

Bye
-- 
Uwe Bonnes                bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread