Skip to content

Commit

Permalink
Fix armv6l packages naming 2
Browse files Browse the repository at this point in the history
  • Loading branch information
awawa-dev committed Feb 9, 2025
1 parent 2c2fa78 commit a9b5161
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions cmake/packages.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,9 @@ SET ( CPACK_PACKAGE_NAME "HyperHDR" )
SET ( CPACK_PACKAGE_DESCRIPTION_SUMMARY "HyperHDR is an open source ambient light implementation" )
SET ( CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_SOURCE_DIR}/README.md" )
if (OVERRIDE_ARCHITECTURE)
SET ( TARGET_CPU_ARCHITECTURE "${OVERRIDE_ARCHITECTURE}")
else()
SET ( TARGET_CPU_ARCHITECTURE "${CMAKE_SYSTEM_PROCESSOR}")
SET ( CMAKE_SYSTEM_PROCESSOR "${OVERRIDE_ARCHITECTURE}")
endif(OVERRIDE_ARCHITECTURE)
SET ( CPACK_PACKAGE_FILE_NAME "HyperHDR-${HYPERHDR_VERSION}-${CMAKE_SYSTEM_NAME}-${TARGET_CPU_ARCHITECTURE}")
SET ( CPACK_PACKAGE_FILE_NAME "HyperHDR-${HYPERHDR_VERSION}-${CMAKE_SYSTEM_NAME}-${CMAKE_SYSTEM_PROCESSOR}")

SET ( CPACK_PACKAGE_CONTACT "[email protected]")
SET ( CPACK_PACKAGE_VENDOR "HyperHDR")
Expand All @@ -86,7 +84,7 @@ if(USE_STANDARD_INSTALLER_NAME AND UNIX AND NOT APPLE)
if (foundTag EQUAL -1)
string(CONCAT CPACK_PACKAGE_VERSION_PATCH "${CPACK_PACKAGE_VERSION_PATCH}" "~${DEBIAN_NAME_TAG}")
endif()
SET ( CPACK_PACKAGE_FILE_NAME "HyperHDR-${HYPERHDR_VERSION_MAJOR}.${HYPERHDR_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}-${TARGET_CPU_ARCHITECTURE}")
SET ( CPACK_PACKAGE_FILE_NAME "HyperHDR-${HYPERHDR_VERSION_MAJOR}.${HYPERHDR_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}-${CMAKE_SYSTEM_PROCESSOR}")
message("Package name: ${CPACK_PACKAGE_FILE_NAME}" )
endif()
endif()
Expand Down

0 comments on commit a9b5161

Please sign in to comment.