diff --git a/CMakeLists.txt b/CMakeLists.txt
index c6a1ea8ae0eb983d2794ab26eb9ab02061790325..6e5369794e0a0873134da47d67853c319c15f510 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -77,10 +77,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")