git://developer.intra2net.com
/
libftdi
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(from parent 1:
5244856
)
Build and configure libftdi-config script on UNIX platforms
author
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Mon, 16 Mar 2009 20:43:29 +0000 (21:43 +0100)
committer
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Mon, 16 Mar 2009 20:43:29 +0000 (21:43 +0100)
CMakeLists.txt
patch
|
blob
|
blame
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
74f45ed
..
8a0baff
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-116,4
+116,9
@@
configure_file(${CMAKE_SOURCE_DIR}/libftdipp.pc.in ${CMAKE_BINARY_DIR}/libftdipp
install(FILES ${CMAKE_BINARY_DIR}/libftdi.pc ${CMAKE_BINARY_DIR}/libftdipp.pc
DESTINATION lib/pkgconfig)
+if(${UNIX})
+ configure_file(${CMAKE_SOURCE_DIR}/libftdi-config.in ${CMAKE_BINARY_DIR}/libftdi-config @ONLY)
+ install(PROGRAMS ${CMAKE_BINARY_DIR}/libftdi-config DESTINATION bin)
+endif(${UNIX})
+
include(CPack)