Commit fb1763a
committed
Use
`Python_ROOT_DIR` is used for the find hints for
- `Python_EXECUTABLE`: Unnecessary because we provide `Python_EXECUTABLE` as a cache variable and that has precedence
- `python-config`: should point to the target's variable. Generally this is a shell script which would be executable during cross-compilation (windows case unknown)
- `Python_LIBRARY`: should point to the target's library which would be on the
`crossenv` uses a fake environment so that `sys.base_*_prefix` variables point to the target's system. Presumably PEP720 would work the same.
Signed-off-by: Cristian Le <[email protected]>sys.base_exec_prefix for Python_ROOT_DIR
1 parent bdf5a4a commit fb1763a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
243 | | - | |
| 243 | + | |
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
| |||
0 commit comments