Commit 6f22265
Fix CMake error for python_path_test.cc test
Fix CMake error so that python_path_test.cc test
will be compiled and run with -DPYTHON3=on.
We need to conditionally compile `python_path_test.cc`. Also,
we should not call `add_subdirectory(tests)` at the beginning
because otherwise Python3_Development_FOUND will be false
when the build process enters `tests/CMakeLists.txt`.1 parent a081819 commit 6f22265
2 files changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| |||
188 | 187 | | |
189 | 188 | | |
190 | 189 | | |
| 190 | + | |
| 191 | + | |
191 | 192 | | |
192 | 193 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
| |||
0 commit comments