Correct architecture name for PPC packages

Merged from ^/branches/wsjtx.



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx-1.6@6158 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Bill Somerville 2015-11-23 00:30:00 +00:00
parent d189839f17
commit 3fb77d32f1

View File

@ -1271,6 +1271,9 @@ else ()
OUTPUT_VARIABLE CPACK_DEBIAN_PACKAGE_ARCHITECTURE
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)
set (CPACK_DEBIAN_PACKAGE_ARCHITECTURE noarch)
endif (DPKG_PROGRAM)