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

Modified CMakeLists.txt to define CPACK_PACKAGE_VERSION and CPACK_DEBIAN_PACKAGE_ARCHITECTURE.

parent e2de4bb7
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,18 @@ endif(COMMAND cmake_policy)
# The project name and the type of project
PROJECT(trajectory)
SET(CPACK_PACKAGE_VERSION "1.0.0")
SET(CPACK_PACKAGE_VERSION_MAJOR "1")
SET(CPACK_PACKAGE_VERSION_MINOR "0")
SET(CPACK_PACKAGE_VERSION_PATCH "0")
IF (CMAKE_SYSTEM_PROCESSOR MATCHES "(x86)|(X86)|(amd64)|(AMD64)")
SET (X86 TRUE)
SET(CPACK_DEBIAN_PACKAGE_ARCHITECTURE "amd64")
ELSE ()
SET (X86 FALSE)
SET(CPACK_DEBIAN_PACKAGE_ARCHITECTURE "i386")
ENDIF()
SET(EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/bin)
SET(LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/lib)
SET(CMAKE_INSTALL_PREFIX /usr/local)
......
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