diff --git a/CMakeCPackOptions.cmake.in b/CMakeCPackOptions.cmake.in index f0594e02a..a3a2d0984 100644 --- a/CMakeCPackOptions.cmake.in +++ b/CMakeCPackOptions.cmake.in @@ -83,8 +83,4 @@ if ("${CPACK_GENERATOR}" STREQUAL "RPM") set (CPACK_PACKAGE_FILE_NAME ${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}.${CPACK_RPM_PACKAGE_ARCHITECTURE}) endif ("${CPACK_GENERATOR}" STREQUAL "RPM") -if ("${CPACK_GENERATOR}" STREQUAL "TGZ") - set (CPACK_PACKAGE_FILE_NAME ${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}-${CPACK_SYSTEM_NAME}.@CMAKE_SYSTEM_PROCESSOR@) -endif ("${CPACK_GENERATOR}" STREQUAL "TGZ") - message (STATUS "CMAKE_INSTALL_PREFIX: ${CMAKE_INSTALL_PREFIX}") diff --git a/CMakeLists.txt b/CMakeLists.txt index 3b947ff4c..57c28965a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -976,7 +976,7 @@ else () set (CPACK_DEBIAN_PACKAGE_ARCHITECTURE noarch) endif (DPKG_PROGRAM) - set (CPACK_GENERATOR "DEB" "RPM" "TGZ") + set (CPACK_GENERATOR "DEB" "RPM") endif () set (CPACK_DEBIAN_PACKAGE_DESCRIPTION "${PROJECT_DESCRIPTION}")