commit 5eaa03a12c33734c4adb033dbf9a040e5d979144
Author: Kornel Benko <kor...@lyx.org>
Date:   Tue May 14 17:07:18 2024 +0200

    Cmake build: 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 045a63f31a..ce35e34fe9 100644
--- a/development/cmake/modules/LyXMacros.cmake
+++ b/development/cmake/modules/LyXMacros.cmake
@@ -459,7 +459,7 @@ function(determineversionandbuildtype configfile package 
version dirs date build
     set(${buildtype} "development" PARENT_SCOPE)
   elseif(LYX_BUILD_TYPE MATCHES "^\(alpha|beta|rc|pre\)[0-9]*$")
     set(${buildtype} "prerelease" PARENT_SCOPE)
-  elseif(LYX_BUILD_TYPE MATCHES "^$")
+  elseif("${LYX_BUILD_TYPE}" MATCHES "^$")
     set(${buildtype} "release" PARENT_SCOPE)
   else()
     set(${buildtype} "unknown" PARENT_SCOPE)
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to