Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Adam <dev@robert-adam.de>2020-07-02 08:51:13 +0300
committerDavide Beatrici <git@davidebeatrici.dev>2020-07-12 00:33:25 +0300
commitcd67b90bf71961a86e26a02ba728ce504db48c0f (patch)
tree4f1c14d4e03434af858946d9675eaf25e9c32c36 /CMakeLists.txt
parent0b26fc7d3d78034512acc4655009f54ba086150a (diff)
Make version RegEx more robust
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index adda32def..6c3e66a70 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -10,7 +10,7 @@ cmake_policy(SET CMP0091 NEW)
set(version "1.4.0" CACHE STRING "Project version")
-string(REGEX MATCH "[0-9].[0-9].[0-9]" version_short ${version})
+string(REGEX MATCH "[0-9]+\\.[0-9]+\\.[0-9]" version_short ${version})
project(Mumble
VERSION ${version_short}