fully apply libftdi configuration

This commit is contained in:
Jeffrey Quesnelle
2019-03-01 11:19:44 -05:00
parent 993974234b
commit ec13728acc
5 changed files with 34 additions and 19 deletions
+4 -2
View File
@@ -48,8 +48,10 @@ if ( CONFUSE_FOUND )
if ( LIBINTL_FOUND )
target_link_libraries ( ftdi_eeprom ${LIBINTL_LIBRARIES} )
endif ()
install ( TARGETS ftdi_eeprom DESTINATION bin )
install ( FILES example.conf DESTINATION ${CMAKE_INSTALL_DOCDIR} )
if ( LIBFTDI_INSTALL )
install ( TARGETS ftdi_eeprom DESTINATION bin )
install ( FILES example.conf DESTINATION ${CMAKE_INSTALL_DOCDIR} )
endif()
else ()
message ( STATUS "libConfuse not found, won't build ftdi_eeprom" )
endif ()