Skip to content

Commit 9861869

Browse files
authored
Update CMakeLists.txt
1 parent ef29381 commit 9861869

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

CMakeLists.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,14 @@ SET(CMAKE_ARCHIVE_OUTPUT_DIRECTORY build/lib)
3939

4040
SET(CMAKE_VERBOSE_MAKEFILE ON)
4141

42+
# Package version number
43+
SET(VMIME_VERSION_MAJOR 0)
44+
SET(VMIME_VERSION_MINOR 9)
45+
SET(VMIME_VERSION_PATCH 2)
46+
set(VMIME_VERSION ${VMIME_VERSION_MAJOR}.${VMIME_VERSION_MINOR}.${VMIME_VERSION_PATCH})
4247

4348
# Project
44-
PROJECT(vmime)
49+
PROJECT(vmime VERSION ${VMIME_VERSION})
4550

4651
# Hunter package
4752
hunter_add_package(OpenSSL)
@@ -67,11 +72,6 @@ configure_package_config_file(
6772
INSTALL_DESTINATION "${CONFIG_INSTALL_DIR}"
6873
)
6974

70-
# Package version number
71-
SET(VMIME_VERSION_MAJOR 0)
72-
SET(VMIME_VERSION_MINOR 9)
73-
SET(VMIME_VERSION_MICRO 2)
74-
7575
# API version number (libtool)
7676
#
7777
# Increment this number only immediately before a public release.

0 commit comments

Comments
 (0)