| … | … | @@ -15,7 +15,7 @@ IF(CMAKE_VERSION VERSION_GREATER 3.31) |
| 15 | 15 | CMAKE_POLICY(SET CMP0177 NEW) |
| 16 | 16 | ENDIF(CMAKE_VERSION VERSION_GREATER 3.31) |
| 17 | 17 | |
| 18 | | PROJECT(cogserver) |
| 18 | PROJECT(cogserver VERSION 3.4.0) |
| 19 | 19 | |
| 20 | 20 | # ---------------------------------------------------------- |
| 21 | 21 | # User-modifiable options. Feel free to change these! |
| … | … | @@ -236,9 +236,6 @@ STRING(TIMESTAMP UTC_DATE %Y%m%d UTC) |
| 236 | 236 | # that it is owned by the builder thus avoiding 'Permission denied' error when |
| 237 | 237 | # packaging. |
| 238 | 238 | FILE(WRITE "${PROJECT_BINARY_DIR}/install_manifest.txt") |
| 239 | | ## It doesn't have a header-file declaring the version similar to cogutil and |
| 240 | | ## atomspace. |
| 241 | | SET(SEMANTIC_VERSION 3.3.0) |
| 242 | 239 | |
| 243 | 240 | # Generate version header file |
| 244 | 241 | CONFIGURE_FILE( |
| … | … | @@ -254,7 +251,7 @@ SET(CPACK_PACKAGE_DIRECTORY "${CMAKE_BINARY_DIR}/packages") |
| 254 | 251 | SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "The OpenCog Network Server") |
| 255 | 252 | SET(CPACK_PACKAGE_NAME "cogserver-dev") |
| 256 | 253 | SET(CPACK_PACKAGE_VENDOR "opencog.org") |
| 257 | | SET(CPACK_PACKAGE_VERSION "${SEMANTIC_VERSION}-${UTC_DATE}") |
| 254 | SET(CPACK_PACKAGE_VERSION "${PROJECT_VERSION}-${UTC_DATE}") |
| 258 | 255 | SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE") |
| 259 | 256 | SET(CPACK_PACKAGE_FILE_NAME |
| 260 | 257 | "${CPACK_PACKAGE_NAME}_${CPACK_PACKAGE_VERSION}_${PACKAGE_ARCHITECTURE}") |