Commit d234744
committed
feat: Fail early if Ninja sources are missing
Add an explicit check in the top-level `CMakeLists.txt` to verify that the
`ninja-upstream` source directory is present. This helps catch configuration
issues early, especially in environments where the source was cloned without
initializing submodules.
If the directory is missing and the project is under Git, the error suggests
initializing submodules. Otherwise, it indicates an invalid source distribution.1 parent 020195e commit d234744
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
7 | 17 | | |
8 | 18 | | |
9 | 19 | | |
| |||
0 commit comments