Commit 1054fcc
authored
feat: Fail early if Ninja sources are missing (#303)
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 e5fa956 commit 1054fcc
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