Skip to content

Commit 6dfa9cb

Browse files
committed
Meson: Remove unused version_info variable
The version numbers are nowadays in include/wpe/libwpe-version.h and the version string does not need to be split in its components anymore.
1 parent 066a795 commit 6dfa9cb

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

meson.build

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,6 @@ api_version = '1.0'
2424
# - If the interface is the same as the previous version, use [C, R+1, A].
2525
soversion = [5, 2, 4]
2626

27-
# Split the *project* version into its components.
28-
version_info = meson.project_version().split('.')
29-
version_info = {
30-
'PROJECT_VERSION_MAJOR': version_info[0],
31-
'PROJECT_VERSION_MINOR': version_info[1],
32-
'PROJECT_VERSION_PATCH': version_info[2],
33-
}
34-
3527
# Mangle [C, R, A] into an actual usable *soversion*.
3628
soversion_major = soversion[0] - soversion[2] # Current-Age
3729
soversion_minor = soversion[2] # Age

0 commit comments

Comments
 (0)