mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
a99dc05e18
Cmake's foreach command includes forms
foreach(<loop_var> IN LISTS <lists>)
foreach(<loop_var> IN ITEMS <items>)
foreach(<loop_var> RANGE ...)
We get the lines to be parsed by
file(STRINGS "${filepath}" lines)
If in the parsed lyx-file there is a line
containing only the single word 'IN', or 'RANGE', then
the command
foreach(_l ${lines})
can create a syntax error (at least with cmake1.16)
In fact, in file pl_Additional.lyx:12913 happens to have
such a beast.
(cherry picked from commit
|
||
---|---|---|
.. | ||
attic | ||
autotests | ||
checksigs | ||
checkurls | ||
CI | ||
cmake | ||
coding | ||
cygwin | ||
HTML | ||
keystest | ||
lyxserver | ||
MacOSX | ||
mathmacros | ||
tools | ||
Win32 | ||
.gitignore | ||
coverity_modeling.cpp | ||
expectedTestFailures | ||
FORMAT | ||
gcc_4.6.patchset | ||
LyX-Mac-binary-release.sh | ||
lyx.package.README | ||
lyx.rpm.README | ||
lyx.spec.in | ||
Makefile.am | ||
PAINTING_ANALYSIS | ||
status.base | ||
TestsToDo |