mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 21:40:19 +00:00
Cmake build: Adapt to recognise AC_INIT empty buildtype
This commit is contained in:
parent
2db9eb463d
commit
5eaa03a12c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user