Commit 6d651e6
Garrett Brown
CMake: Exclude test-related depends when building tests
When building without tests, GTest and GMock are not needed. This change
allows build systems to continue with filecoin compilation without devoting
resources to its testing infrastructure.1 parent 9273b25 commit 6d651e6
1 file changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
| |||
0 commit comments