Skip to content

Commit 6e63867

Browse files
committed
Add missing commands in deb package creation
1 parent 7cbdb2f commit 6e63867

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ set(CPACK_PACKAGE_VENDOR "odedlaz")
6464
set(CPACK_DEBIAN_PACKAGE_MAINTAINER "Oded Lazar")
6565
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "execute commands as another user")
6666
set(CPACK_PACKAGE_VERSION "0.1.0")
67+
set(CPACK_DEBIAN_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION}")
68+
set(CPACK_DEBIAN_PACKAGE_ARCHITECTURE "${CPU_ARCH}")
6769
set(CPACK_OUTPUT_FILE_PREFIX "${CMAKE_SOURCE_DIR}/pkg")
6870
set(CPACK_PACKAGING_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
6971
include(CPack)

0 commit comments

Comments
 (0)