Commit 12330379 by Méso Star

Fix the pkg CMake script on CMake 2.8

parent 51c13245
......@@ -60,18 +60,9 @@ set(CPACK_PACKAGE_DESCRIPTION
set(CPACK_RESOURCE_FILE_README
${CMAKE_CURRENT_BINARY_DIR}/../../README.md)
set(PKG_NAME "\
${CPACK_PACKAGE_NAME}-\
${CPACK_PACKAGE_VERSION_MAJOR}.\
${CPACK_PACKAGE_VERSION_MINOR}.\
${CPACK_PACKAGE_VERSION_PATCH}-\
${CPACK_SYSTEM_NAME}")
set(PKG_NAME_SRC "\
${CPACK_PACKAGE_NAME}-\
${CPACK_PACKAGE_VERSION_MAJOR}.\
${CPACK_PACKAGE_VERSION_MINOR}.\
${CPACK_PACKAGE_VERSION_PATCH}-Source")
set(PKG_VERSION ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH})
set(PKG_NAME "${CPACK_PACKAGE_NAME}-${PKG_VERSION}-${CPACK_SYSTEM_NAME}")
set(PKG_NAME_SRC "${CPACK_PACKAGE_NAME}-${PKG_VERSION}-Source")
################################################################################
# Generate the binary package config file
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment