Commit d00d469
authored
[CMake] Fix build with SwiftTesting_BuildMacrosAsExecutables option set (#645)
Resolve the issues with an out-of-toolchain build from the command line
with ninja
### Motivation:
Fixes #644
### Modifications:
There were two issues:
- typo -load-plugin-exectuable -> -load-plugin-executable
- The executable target for TestingMacros was not installed
### Result:
A build from the command line with cmake -GNinja -Bbuild will
successfully complete if SwiftSyntax is not find_package-able
### Checklist:
- [x] Code and documentation should follow the style of the [Style
Guide](https://github.com/apple/swift-testing/blob/main/Documentation/StyleGuide.md).
- [x] If public symbols are renamed or modified, DocC references should
be updated.1 parent ab1b0f9 commit d00d469
2 files changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
59 | 62 | | |
60 | 63 | | |
61 | 64 | | |
| |||
0 commit comments