Commit d7953ff
build: conditionaly add Foundation dependency edge (#783)
When building without `-DFoundation_DIR=...`, we should not wire up a
dependency on Foundation and instead rely on autolinking and the driver
to collude to resolve the linkage. Failure to do so will instill a rogue
`-lFoundation.lib` when linking on Windows.1 parent 41982a3 commit d7953ff
File tree
2 files changed
+13
-4
lines changed- Sources
- ArgumentParserTestHelpers
- ArgumentParser
2 files changed
+13
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
57 | 60 | | |
58 | 61 | | |
59 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
0 commit comments