Commit e592cd7
committed
cmake: Fix flex version check for overriding the register keyword
In doxygen#11113 a check was added to override the "register" keyword for
older versions of flex. The check was added before the find_package()
call which resulted in the workaround being active for any version
of flex. This breaks the build with recent mingw-w64 which uses "register"
in its headers.
Fix by moving the version check after the find_package() call.1 parent ee1bb44 commit e592cd7
1 file changed
+6
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | 110 | | |
118 | 111 | | |
119 | 112 | | |
| |||
208 | 201 | | |
209 | 202 | | |
210 | 203 | | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
211 | 210 | | |
212 | 211 | | |
213 | 212 | | |
| |||
0 commit comments