mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
Cmake tests: Use correct 'if' statement to handle language strings
This commit is contained in:
parent
34943a4e5f
commit
40e6035d94
@ -218,7 +218,7 @@ macro(loadTestList filename resList depth splitlangs)
|
||||
list(REMOVE_DUPLICATES mylabels)
|
||||
set(sublabel ${_newl})
|
||||
else()
|
||||
if (splitlangs)
|
||||
if (${splitlangs} MATCHES "ON")
|
||||
string(REGEX REPLACE "(\\/|\\||\\(|\\))" " " _vxx ${_newl})
|
||||
string(REGEX MATCHALL " ([a-z][a-z](_[A-Z][A-Z])?) " _vx ${_vxx})
|
||||
else()
|
||||
|
Loading…
Reference in New Issue
Block a user