From: Uwe Bonnes Date: Sun, 2 May 2010 15:46:45 +0000 (+0200) Subject: CMAKE: Fix package creation on 32-bit machines X-Git-Tag: v1.0rc1~175 X-Git-Url: http://developer.intra2net.com/git/?p=libftdi;a=commitdiff_plain;h=08febc5eb9ee23b4b1734ab025cbcc2916a7d040;hp=f0005c33680f09d43e63a0c4d2c8209d418289aa CMAKE: Fix package creation on 32-bit machines Appended patch fixes a typo that caused the creation of _64.[deb|rpm] also for 32-bit builds. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 3e6c96d..d082932 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -47,7 +47,7 @@ set(CPACK_COMPONENT_HEADERS_GROUP "Development") IF(CMAKE_SIZEOF_VOID_P EQUAL 4) SET(LIB_SUFFIX "") SET(PACK_ARCH "") - ELSE(CMAKE_SIZEOF_VOID_P EQUAL 4) + ELSE(CMAKE_SIZEOF_VOID_P EQUAL 8) SET(LIB_SUFFIX 64) SET(PACK_ARCH .x86_64) endif(CMAKE_SIZEOF_VOID_P EQUAL 4)