aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/FindRagel.cmake
Commit message (Collapse)AuthorAgeFilesLines
* [Minor] Make ragel-generated files independent of the parent directoryPeter Wu2020-01-211-2/+9
| | | | | | | | | | * Use relative paths for `#line` directives to allow reproducible builds independent of the absolute build directory. For /b/rspamd/src/x.rl and build dir /b/build, it could result in `../../build/src/x.rl`. * The `-L` option for `Inhibit writing #line directives` is useless, it just comments out the line with `/* ... */`, but that means that the source file is still different. * Note that ragel only accepts one input file, despite plural `INPUTS`.
* [Rework] Move cmake modules to a dedicated pathVsevolod Stakhov2019-11-151-0/+96