mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-30 23:27:22 +00:00
C++: use PROJECT_VERSION for the CPACK version
This commit is contained in:
parent
9a7bf43c9f
commit
30c98deecd
2 changed files with 3 additions and 6 deletions
|
@ -459,9 +459,9 @@ endif(SLINT_BUILD_RUNTIME)
|
|||
set(CPACK_PACKAGE_NAME "Slint-cpp")
|
||||
set(CPACK_PACKAGE_VENDOR "Slint")
|
||||
set(CPACK_VERBATIM_VARIABLES true)
|
||||
set(CPACK_PACKAGE_VERSION_MAJOR 1)
|
||||
set(CPACK_PACKAGE_VERSION_MINOR 8)
|
||||
set(CPACK_PACKAGE_VERSION_PATCH 0)
|
||||
set(CPACK_PACKAGE_VERSION_MAJOR ${PROJECT_VERSION_MAJOR})
|
||||
set(CPACK_PACKAGE_VERSION_MINOR ${PROJECT_VERSION_MINOR})
|
||||
set(CPACK_PACKAGE_VERSION_PATCH ${PROJECT_VERSION_PATCH})
|
||||
set(CPACK_PACKAGE_HOMEPAGE_URL "https://slint.dev")
|
||||
set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_LIST_DIR}/../../LICENSE.md")
|
||||
set(CPACK_RESOURCE_FILE_README "${CMAKE_CURRENT_LIST_DIR}/README.md")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue