Skip to content
Snippets Groups Projects
Commit 3821871c authored by Alejandro Lopez Gestoso's avatar Alejandro Lopez Gestoso
Browse files

Adapted to the new variable PACKAGE_NAME; Now PROJECT_NAME it's the name with...

Adapted to the new variable PACKAGE_NAME; Now PROJECT_NAME it's the name with underscores and PACKAGE_NAME withhyphens
parent 55fcd888
No related branches found
No related tags found
No related merge requests found
...@@ -8,6 +8,7 @@ endif(COMMAND cmake_policy) ...@@ -8,6 +8,7 @@ endif(COMMAND cmake_policy)
# The project name and the type of project # The project name and the type of project
PROJECT(dynamixel) PROJECT(dynamixel)
SET(PACKAGE_NAME dynamixel)
SET(EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/bin) SET(EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/bin)
SET(LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/lib) SET(LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/lib)
...@@ -80,8 +81,8 @@ ELSE () ...@@ -80,8 +81,8 @@ ELSE ()
ENDIF() ENDIF()
IF (UNIX) IF (UNIX)
SET(CPACK_PACKAGE_FILE_NAME "iri-${PROJECT_NAME}-dev-${CPACK_PACKAGE_VERSION}${CPACK_DEBIAN_PACKAGE_ARCHITECTURE}") SET(CPACK_PACKAGE_FILE_NAME "iri-${PACKAGE_NAME}-dev-${CPACK_PACKAGE_VERSION}${CPACK_DEBIAN_PACKAGE_ARCHITECTURE}")
SET(CPACK_PACKAGE_NAME "iri-${PROJECT_NAME}-dev") SET(CPACK_PACKAGE_NAME "iri-${PACKAGE_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_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_GENERATOR "DEB")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment