Commit 9bd7f46
Populates EXECUTORCH_LIBRARIES and other variables in executorch-config.cmake (#6204)
Summary:
executorch-config.cmake
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
Pull Request resolved: #6204
Reviewed By: metascroy
Differential Revision: D64363174
Pulled By: larryliu0820
fbshipit-source-id: a150cd3eacbfc4a6ab2870611b5c3b7f453332fb1 parent ce767cb commit 9bd7f46
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 | | |
| |||
91 | 110 | | |
92 | 111 | | |
93 | 112 | | |
| 113 | + | |
94 | 114 | | |
95 | 115 | | |
0 commit comments