From af7a35fe69b4ec7fabcf9b35611e99ff01035b19 Mon Sep 17 00:00:00 2001 From: Thomas Jarosch Date: Thu, 27 Dec 2012 17:35:28 +0100 Subject: [PATCH] Install ftdi_eeprom --- ftdi_eeprom/CMakeLists.txt | 2 ++ libftdi1.spec.in | 1 + 2 files changed, 3 insertions(+), 0 deletions(-) diff --git a/ftdi_eeprom/CMakeLists.txt b/ftdi_eeprom/CMakeLists.txt index f2552ee..a843b8e 100644 --- a/ftdi_eeprom/CMakeLists.txt +++ b/ftdi_eeprom/CMakeLists.txt @@ -30,6 +30,8 @@ if (FTDI_EEPROM) target_link_libraries(ftdi_eeprom ftdi1) target_link_libraries(ftdi_eeprom ${Confuse_LIBRARIES}) + install(TARGETS ftdi_eeprom DESTINATION bin) + else(Confuse_FOUND) message(STATUS "libConfuse not found, won't build ftdi_eeprom") endif(Confuse_FOUND) diff --git a/libftdi1.spec.in b/libftdi1.spec.in index e5ca1b6..9ffd62d 100644 --- a/libftdi1.spec.in +++ b/libftdi1.spec.in @@ -64,6 +64,7 @@ rm -fr $RPM_BUILD_ROOT %files devel %defattr(-,root,root) %doc doc/html doc/man +%{_bindir}/ftdi_eeprom %{_bindir}/libftdi1-config %{prefix}/include/libftdi1/*.h %{prefix}/include/libftdi1/*.hpp -- 1.7.1