diff --git a/cmake/Packing.cmake b/cmake/Packing.cmake index 93b1feb..53291fd 100644 --- a/cmake/Packing.cmake +++ b/cmake/Packing.cmake @@ -14,7 +14,7 @@ set(CPACK_PACKAGE_INSTALL_DIRECTORY ${CPACK_PACKAGE_NAME}) SET(CPACK_OUTPUT_FILE_PREFIX "${CMAKE_SOURCE_DIR}/_packages") # https://unix.stackexchange.com/a/11552/254512 -set(CPACK_PACKAGING_INSTALL_PREFIX "/opt/some")#/${CMAKE_PROJECT_VERSION}") +set(CPACK_PACKAGING_INSTALL_PREFIX "/opt/${CPACK_PACKAGE_NAME}") set(CPACK_PACKAGE_VERSION_MAJOR ${PROJECT_VERSION_MAJOR}) set(CPACK_PACKAGE_VERSION_MINOR ${PROJECT_VERSION_MINOR}) @@ -40,11 +40,7 @@ set( # package name for deb. If set, then instead of some-application-0.9.2-Linux.deb # you'll get some-application_0.9.2_amd64.deb (note the underscores too) set(CPACK_DEBIAN_FILE_NAME DEB-DEFAULT) -# that is if you want every group to have its own package, -# although the same will happen if this is not set (so it defaults to ONE_PER_GROUP) -# and CPACK_DEB_COMPONENT_INSTALL is set to YES -set(CPACK_COMPONENTS_GROUPING ALL_COMPONENTS_IN_ONE)#ONE_PER_GROUP) -# without this you won't be able to pack only specified component -set(CPACK_DEB_COMPONENT_INSTALL YES) + +message(STATUS "Components to pack: ${CPACK_COMPONENTS_ALL}") include(CPack) \ No newline at end of file diff --git a/output/libcreate_3.1.4_arm64.deb b/output/libcreate_3.1.4_arm64.deb new file mode 100644 index 0000000..d9c0cfb Binary files /dev/null and b/output/libcreate_3.1.4_arm64.deb differ