git://developer.intra2net.com
/
libftdi
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
016ad17
)
Guess libdir for archlinux.
author
xantares
<xantares09@hotmail.com>
Wed, 14 Aug 2013 18:41:28 +0000 (20:41 +0200)
committer
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Mon, 2 Sep 2013 12:46:52 +0000 (14:46 +0200)
CMakeLists.txt
patch
|
blob
|
blame
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
1e74b7f
..
72302d2
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-50,7
+50,10
@@
option ( STATICLIBS "Build static libraries" ON )
# guess LIB_SUFFIX, don't take debian multiarch into account
if ( NOT DEFINED LIB_SUFFIX )
- if ( CMAKE_SYSTEM_NAME MATCHES "Linux" AND NOT CMAKE_CROSSCOMPILING AND NOT EXISTS "/etc/debian_version" )
+ if( CMAKE_SYSTEM_NAME MATCHES "Linux"
+ AND NOT CMAKE_CROSSCOMPILING
+ AND NOT EXISTS "/etc/debian_version"
+ AND NOT EXISTS "/etc/arch-release" )
if ( "${CMAKE_SIZEOF_VOID_P}" EQUAL "8" )
set ( LIB_SUFFIX 64 )
endif ()