Commit ac46aef
Fix potentially invalid macro name in generated version header (#38)
* Fix potentially invalid macro name in generated version header
The generated name was invalid if the target name contained characters
that are not legal in macro identifiers. This commit replaces all
illegal characters with the underscore "_".
* Update CMakeLists.txt
---------
Co-authored-by: Lars Melchior <TheLartians@users.noreply.github.com>1 parent 28f6118 commit ac46aef
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
| 85 | + | |
84 | 86 | | |
85 | 87 | | |
86 | 88 | | |
| |||
0 commit comments