X-Git-Url: http://developer.intra2net.com/git/?p=libftdi;a=blobdiff_plain;f=CMakeLists.txt;h=72302d2d1feaf107df690c11eec40e6ab15d2adb;hp=1e74b7fd9c478441bd790c348d7e668767eb68d6;hb=7a6dfcaa1bbd52d4fec9791658d29d07cec82df8;hpb=016ad174031f03588b526ba873c6e14343199dab diff --git a/CMakeLists.txt b/CMakeLists.txt index 1e74b7f..72302d2 100644 --- 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 ()