[LyX/master] Cmake build: Amend 1b5f8f27
Kornel Benko
kornel at lyx.org
Sat Jan 13 08:23:21 UTC 2024
commit 8899e4d6cc40af02a1c0507073a727134c89f105
Author: Kornel Benko <kornel at lyx.org>
Date: Sat Jan 13 10:49:14 2024 +0100
Cmake build: Amend 1b5f8f27
---
development/cmake/modules/LyXMacros.cmake | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/development/cmake/modules/LyXMacros.cmake b/development/cmake/modules/LyXMacros.cmake
index a3a93b9..045a63f 100644
--- a/development/cmake/modules/LyXMacros.cmake
+++ b/development/cmake/modules/LyXMacros.cmake
@@ -455,7 +455,7 @@ function(determineversionandbuildtype configfile package version dirs date build
set(${version} ${LYX_VERSION} ${LYX_MAJOR_VERSION} ${LYX_MINOR_VERSION} ${LYX_RELEASE_LEVEL} ${LYX_RELEASE_PATCH} PARENT_SCOPE)
set(${dirs} ${LYX_DIR_VER} ${LYX_USERDIR_VER} PARENT_SCOPE)
set(${date} ${LYX_DATE} PARENT_SCOPE)
- if(LYX_BUILD_TYPE MATCHES "^\(dev\)$")
+ if(LYX_BUILD_TYPE MATCHES "^\(dev(el)?\)$")
set(${buildtype} "development" PARENT_SCOPE)
elseif(LYX_BUILD_TYPE MATCHES "^\(alpha|beta|rc|pre\)[0-9]*$")
set(${buildtype} "prerelease" PARENT_SCOPE)
More information about the lyx-cvs
mailing list