mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Cmake build: Allow numbers in lyx-suffix too
That way we can use '-DLYX_SUFFIX_VALUE=123.456'
This commit is contained in:
parent
4a42a71119
commit
0f798d6675
@ -266,7 +266,7 @@ macro(LYX_STRING _name _description _default)
|
||||
if (NOT "${tmp_lyx_name}" MATCHES "^\\..*$")
|
||||
set(tmp_lyx_name ".${tmp_lyx_name}")
|
||||
endif()
|
||||
if (NOT "${tmp_lyx_name}" MATCHES "^\\.[a-zA-Z_\\.]+$")
|
||||
if (NOT "${tmp_lyx_name}" MATCHES "^\\.[a-zA-Z_0-9\\.]+$")
|
||||
message(FATAL_ERROR "Invalid string for lyx suffix (${tmp_lyx_name})")
|
||||
endif()
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user