git://developer.intra2net.com
/
libftdi
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
57fe941
)
Configure libftdi1-config only unix & mingw, not win32
author
xantares
<xantares09@hotmail.com>
Sat, 14 Sep 2013 08:35:26 +0000 (10:35 +0200)
committer
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Thu, 31 Oct 2013 14:36:45 +0000 (15:36 +0100)
CMakeLists.txt
patch
|
blob
|
blame
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
72e4da8
..
f4feecd
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-170,9
+170,11
@@
configure_file(${CMAKE_SOURCE_DIR}/libftdipp1.pc.in ${CMAKE_BINARY_DIR}/libftdip
install(FILES ${CMAKE_BINARY_DIR}/libftdi1.pc ${CMAKE_BINARY_DIR}/libftdipp1.pc
DESTINATION lib${LIB_SUFFIX}/pkgconfig)
+if (UNIX OR MINGW)
configure_file ( libftdi1-config.in ${CMAKE_CURRENT_BINARY_DIR}/libftdi1-config @ONLY )
install ( PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/libftdi1-config
DESTINATION bin )
+endif ()
# config script install path
if ( NOT DEFINED LIBFTDI_CMAKE_CONFIG_DIR )