-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix/Remove too specific CPack packaging configuration
- Loading branch information
Showing
1 changed file
with
1 addition
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ set(CPACK_PACKAGE_NAME "sleigh") | |
set(CPACK_PACKAGE_VENDOR "Trail of Bits") | ||
set(CPACK_PACKAGE_CONTACT "[email protected]") | ||
set(CPACK_PACKAGE_HOMEPAGE_URL "https://github.com/lifting-bits/sleigh") | ||
set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${PROJECT_VERSION}-${PACKAGE_VERSION}.x86_64") | ||
set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${PROJECT_VERSION}-${PACKAGE_VERSION}.${CMAKE_SYSTEM_PROCESSOR}") | ||
set(CPACK_PACKAGE_RELOCATABLE ON) | ||
|
||
set(CPACK_GENERATOR "TGZ") | ||
|
@@ -33,7 +33,6 @@ if(CMAKE_HOST_SYSTEM_NAME STREQUAL "Linux") | |
set(CPACK_RPM_PACKAGE_RELEASE_DIST "${PACKAGE_VERSION}") | ||
set(CPACK_RPM_PACKAGE_DESCRIPTION "${CPACK_PACKAGE_DESCRIPTION_SUMMARY}") | ||
set(CPACK_RPM_PACKAGE_GROUP "default") | ||
set(CPACK_RPM_PACKAGE_REQUIRES "glibc >= 2.31") | ||
|
||
unset(dpkg_executable_path CACHE) | ||
find_program(dpkg_executable_path "dpkg") | ||
|
@@ -47,8 +46,6 @@ if(CMAKE_HOST_SYSTEM_NAME STREQUAL "Linux") | |
set(CPACK_DEBIAN_PACKAGE_PRIORITY "extra") | ||
set(CPACK_DEBIAN_PACKAGE_SECTION "default") | ||
set(CPACK_DEBIAN_PACKAGE_HOMEPAGE "${CPACK_PACKAGE_HOMEPAGE_URL}") | ||
set(CPACK_DEBIAN_PACKAGE_DEPENDS "libc-dev-bin (>=2.31)") | ||
|
||
endif() | ||
|
||
include(CPack) |