[LyX/2.4.1-devel] Amend(1) 5eaa03a1, Adapt to recognise AC_INIT empty buildtype
Kornel Benko
kornel at lyx.org
Mon Jun 3 02:08:42 UTC 2024
commit 8edc87b68179b6b033b9ef9e2973cd6d478e3cc3
Author: Kornel Benko <kornel at lyx.org>
Date: Wed May 15 12:16:59 2024 +0200
Amend(1) 5eaa03a1, Adapt to recognise AC_INIT empty buildtype
---
development/cmake/modules/LyXMacros.cmake | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/development/cmake/modules/LyXMacros.cmake b/development/cmake/modules/LyXMacros.cmake
index ce35e34fe9..a5c8c961c7 100644
--- a/development/cmake/modules/LyXMacros.cmake
+++ b/development/cmake/modules/LyXMacros.cmake
@@ -430,7 +430,7 @@ function(determineversionandbuildtype configfile package version dirs date build
setstripped(PACKAGE_VERSION ${_PV})
setstripped(PACKAGE_BUGREPORT ${_PBU})
set(${package} ${PACKAGE_BASE} ${PACKAGE_VERSION} ${PACKAGE_BUGREPORT} PARENT_SCOPE)
- if(PACKAGE_VERSION MATCHES "^\([0-9]+\)\\.\([0-9]+\)\(\\.\([0-9]+\)\(\\.\([0-9]+\)\)?\)?[-~]?\([A-Za-z]+[0-9]*\).*$")
+ if(PACKAGE_VERSION MATCHES "^\([0-9]+\)\\.\([0-9]+\)\(\\.\([0-9]+\)\(\\.\([0-9]+\)\)?\)?[-~]?\([A-Za-z]+[0-9]*\)?.*$")
set(LYX_MAJOR_VERSION ${CMAKE_MATCH_1})
set(LYX_MINOR_VERSION ${CMAKE_MATCH_2})
set(LYX_RELEASE_LEVEL ${CMAKE_MATCH_4})
More information about the lyx-cvs
mailing list