The branch, master has been updated
via 08dc0034ded8494844bc489871ae9a21f93e8635 (commit)
from 5a7acb0743fe8d97756837a05c93a2bda4816154 (commit)
- Log -----------------------------------------------------------------
commit 08dc0034ded8494844bc489871ae9a21f93e8635
Author: Michel Zou <xantares09@xxxxxxxxxxx>
Date: Mon Jan 9 16:43:54 2012 +0100
Fix build on Mac OS X
-----------------------------------------------------------------------
Summary of changes:
CMakeLists.txt | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c6a823f..67f0c22 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -43,14 +43,14 @@ set(CPACK_COMPONENT_SHAREDLIBS_GROUP "Development")
set(CPACK_COMPONENT_STATICLIBS_GROUP "Development")
set(CPACK_COMPONENT_HEADERS_GROUP "Development")
-if(UNIX AND NOT CMAKE_CROSSCOMPILING AND NOT EXISTS "/etc/debian_version")
- if(CMAKE_SIZEOF_VOID_P EQUAL 8 AND NOT LIB_SUFFIX)
- set(LIB_SUFFIX "64")
- endif()
-endif()
+# automatically set lib suffix
+if ( UNIX AND NOT APPLE AND NOT CMAKE_CROSSCOMPILING AND NOT EXISTS
"/etc/debian_version" )
+ if ( CMAKE_SIZEOF_VOID_P EQUAL 8 AND NOT LIB_SUFFIX )
+ set ( LIB_SUFFIX 64 )
+ endif ()
+endif ()
if(NOT APPLE)
- # Create suffix to eventually install in lib64
if(CMAKE_SIZEOF_VOID_P EQUAL 4)
SET(PACK_ARCH "")
else(CMAKE_SIZEOF_VOID_P EQUAL 8)
hooks/post-receive
--
A library to talk to FTDI chips
--
libftdi-git - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi-git+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|