Commit 42c8ef0
committed
Populates EXECUTORCH_LIBRARIES and other variables in
executorch-config.cmake
Summary: As titled. This PR aligns the behavior of
`executorch-config.cmake` (being used by building ET from source) and
the behavior of `executorch-wheel-config.cmake` (being used by
installing ET from pip), by exposing these variables:
* `EXECUTORCH_FOUND` set to `ON` when required libraries are found
* `EXECUTORCH_LIBRARIES` a list of targets for installed ET libraries
* `EXECUTORCH_INCLUDE_DIRS` a list of directory paths to headers
Test Plan:
Reviewers:
Subscribers:
Tasks:
Tags:1 parent aa852cc commit 42c8ef0
1 file changed
+20
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
13 | 26 | | |
14 | 27 | | |
15 | 28 | | |
16 | 29 | | |
17 | 30 | | |
| 31 | + | |
| 32 | + | |
18 | 33 | | |
19 | 34 | | |
20 | 35 | | |
| |||
25 | 40 | | |
26 | 41 | | |
27 | 42 | | |
| 43 | + | |
28 | 44 | | |
29 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
30 | 49 | | |
31 | 50 | | |
32 | 51 | | |
| |||
90 | 109 | | |
91 | 110 | | |
92 | 111 | | |
| 112 | + | |
93 | 113 | | |
94 | 114 | | |
0 commit comments