Commit 33bfa39
committed
Improve CMake check when both interpreter modes are OFF
The style of this check is improved, we can use an elseif instead of going through another if block to add the REPL definitions. Even though this is fine in theory, setting both flags to ON, caused this to add both definitions, which is fixed by the previous commit.1 parent da9daef commit 33bfa39
1 file changed
+5
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
293 | 293 | | |
294 | 294 | | |
295 | 295 | | |
296 | | - | |
| 296 | + | |
297 | 297 | | |
298 | 298 | | |
299 | | - | |
300 | | - | |
301 | | - | |
302 | | - | |
| 299 | + | |
303 | 300 | | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
304 | 304 | | |
305 | | - | |
306 | 305 | | |
307 | 306 | | |
308 | 307 | | |
| |||
0 commit comments