Commit 8b5b7ca
multipy: use primary python instead of newest (#218)
Summary:
When cmake minimum version was switched in 8c7e487 it changed the default FIND_STRATEGY from LOCATION to VERSION. This explicitly switches it back so it'll prefer the active python from virtualenv/conda instead of from system even if it's newer.
https://cmake.org/cmake/help/latest/module/FindPython3.html#hints
Pull Request resolved: #218
Test Plan:
```
python setup.py develop
```
Reviewed By: PaliC
Differential Revision: D40536560
Pulled By: d4l3k
fbshipit-source-id: f78faaba4a8f24c2685018cb9bd20800b4a7a6461 parent cbb67b2 commit 8b5b7ca
2 files changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
7 | 12 | | |
8 | 13 | | |
9 | 14 | | |
| |||
0 commit comments