Skip to content

Commit

Permalink
fix: remove uneeded changes
Browse files Browse the repository at this point in the history
  • Loading branch information
diogomatsubara committed Oct 31, 2024
1 parent 6df3b50 commit c3a66fb
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions install/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -72,17 +72,7 @@ if(NOT CPACK_PACKAGE_VERSION)
endif()
endif()

if(NOT DEBARCH)
set(DEBARCH ${CMAKE_SYSTEM_PROCESSOR}-${CMAKE_SYSTEM_NAME})
endif()
set(CPACK_DEBIAN_PACKAGE_ARCHITECTURE ${DEBARCH})

if(NOT RPMARCH)
set(RPMARCH ${CMAKE_SYSTEM_PROCESSOR})
endif()
set(CPACK_RPM_PACKAGE_ARCHITECTURE ${RPMARCH})

set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}-${CMAKE_SYSTEM_NAME}-${CMAKE_SYSTEM_PROCESSOR}")
set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}")
set(CPACK_PROJECT_CONFIG_FILE "${CMAKE_CURRENT_SOURCE_DIR}/cpack_project_config.cmake")

include(CPack)

0 comments on commit c3a66fb

Please # to comment.