Commit a9ab867
Turn BUILD_TESTING off if EXECUTORCH_BUILD_TESTS is off (pytorch#12566)
As the comment notes, it looks like otherwise we have third-party deps
that might include(CTest) and thereby turn on testing even though our
specific option is off. (Should we get rid of the specific option or
more directly alias it to BUILD_TESTING?)1 parent 9f81636 commit a9ab867
1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
164 | 168 | | |
165 | 169 | | |
166 | 170 | | |
| |||
744 | 748 | | |
745 | 749 | | |
746 | 750 | | |
747 | | - | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
748 | 755 | | |
749 | 756 | | |
750 | 757 | | |
| |||
0 commit comments