Commit 464c01a
authored
[CMake] Fix usage of lowercase or in condition (#1117)
CMake is a strange animal and some things are case sensitive, while
others aren't. It seems that `if(<condition>)` logical operator `OR` is
case sensitive, and `or` was not cutting it. At least for CMake 3.26.4.
If some CMake version allows `or`, it should also allow `OR`, so this
change should not be a problem for those versions.
Most of the time these pieces are not actually hit, because the build
system sets `SwiftTesting_MACROS` to `NO`, so this is skipped, which
might explain why it has not been a problem.1 parent 72afbb4 commit 464c01a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
0 commit comments