libftdi Archives

Subject: Re: patch to install example config for ftdi_eeprom

From: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Cc: rossi.f@xxxxxxxxx
Date: Fri, 20 Nov 2015 23:57:32 +0100
Hi Fabio,

Am 07.11.2015 um 16:39 schrieb Fabio Rossi:
> Here is a simple patch:
> 
> --- ftdi_eeprom/CMakeLists.txt  2015-11-07 16:19:13.526113529 +0100
> +++ ftdi_eeprom/CMakeLists.txt.new      2015-11-07 16:22:31.952124624 +0100
> @@ -40,6 +40,7 @@
>      target_link_libraries ( ftdi_eeprom ${LIBINTL_LIBRARIES} )
>    endif ()
>    install ( TARGETS ftdi_eeprom DESTINATION bin )
> +  install ( FILES example.conf DESTINATION share/libftdi/find_eeprom )
>  else ()
>    message ( STATUS "libConfuse not found, won't build ftdi_eeprom" )
>  endif ()

good idea. I've committed something a bit more complicated: cmake determines
the correct docdir and places the file there. Hopefully this works as intended 
on Win32.
I've added a little safety net ;)

Cheers,
Thomas


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

Current Thread