From 1c51f0ef1b775dd5fbf702985008ed5d28dc3574 Mon Sep 17 00:00:00 2001 From: Alejandro Lopez Gestoso <alopez@iri.upc.edu> Date: Tue, 14 May 2019 18:02:17 +0200 Subject: [PATCH] Removed CPACK_SET_DIR to install the .deb package on /usr --- CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6c49adf..3aac06d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -95,10 +95,9 @@ IF (UNIX) SET(CPACK_PACKAGE_FILE_NAME "iri-${PROJECT_NAME}-dev-${CPACK_PACKAGE_VERSION}-${CPACK_DEBIAN_PACKAGE_ARCHITECTURE}") SET(CPACK_PACKAGE_NAME "iri-${PROJECT_NAME}-dev") SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Part of IRI-laboratory libraries. More information at http://wiki.iri.upc.edu/index.php/LabRobotica") - SET(CPACK_PACKAGING_INSTALL_PREFIX "/usr") + SET(CPACK_PACKAGING_INSTALL_PREFIX /usr) SET(CPACK_GENERATOR "DEB") SET(CPACK_DEBIAN_PACKAGE_MAINTAINER "shernand - shernand@iri.upc.edu") - SET(CPACK_SET_DESTDIR "ON") # Necessary because of the absolute install paths # Uncomment to add the necessary mantainer scripts # SET(CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA "${CMAKE_SOURCE_DIR}/package_scripts/preinst;${CMAKE_SOURCE_DIR}/package_scripts/postinst;${CMAKE_SOURCE_DIR}/package_scripts/prerm;${CMAKE_SOURCE_DIR}/package_scripts/postrm") -- GitLab