Install ftdi_eeprom
authorThomas Jarosch <thomas.jarosch@intra2net.com>
Thu, 27 Dec 2012 16:35:28 +0000 (17:35 +0100)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Thu, 27 Dec 2012 16:36:50 +0000 (17:36 +0100)
ftdi_eeprom/CMakeLists.txt
libftdi1.spec.in

index f2552ee..a843b8e 100644 (file)
@@ -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)
index e5ca1b6..9ffd62d 100644 (file)
@@ -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