Commit 02526df
authored
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 d8a9695 commit 02526df
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 | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
64 | 67 | | |
65 | 68 | | |
66 | 69 | | |
| |||
| 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