Correct architecture name for PPC packages

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6157 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Bill Somerville 2015-11-23 00:27:52 +00:00
parent a8d0e2eeeb
commit e4dfb18a4b

View File

@ -1283,6 +1283,9 @@ else ()
OUTPUT_VARIABLE CPACK_DEBIAN_PACKAGE_ARCHITECTURE OUTPUT_VARIABLE CPACK_DEBIAN_PACKAGE_ARCHITECTURE
OUTPUT_STRIP_TRAILING_WHITESPACE OUTPUT_STRIP_TRAILING_WHITESPACE
) )
if (${CPACK_DEBIAN_PACKAGE_ARCHITECTURE} STREQUAL powerpc AND ${PROJECT_ARCHITECTURE} STREQUAL ppc64)
set (CPACK_DEBIAN_PACKAGE_ARCHITECTURE ${PROJECT_ARCHITECTURE})
endif (${CPACK_DEBIAN_PACKAGE_ARCHITECTURE} STREQUAL powerpc AND ${PROJECT_ARCHITECTURE} STREQUAL ppc64)
else (DPKG_PROGRAM) else (DPKG_PROGRAM)
set (CPACK_DEBIAN_PACKAGE_ARCHITECTURE noarch) set (CPACK_DEBIAN_PACKAGE_ARCHITECTURE noarch)
endif (DPKG_PROGRAM) endif (DPKG_PROGRAM)