Commit 5cb4647
authored
[UR] Ensure mock target depends on UR_EXTERNAL_DEPENDENCIES (#18844)
Firstly, rename `ur_mock_headers` to `ur_mock` as this is a shared
library not header only library.
Secondly, when part of a subbuild, ensure that the `ur_mock` target
depends on the specified `UR_EXTERNAL_DEPENDENCIES`, this is handled by
using `add_ur_library()` in place of `add_library()`.1 parent 32c6376 commit 5cb4647
2 files changed
Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
0 commit comments