Commit 18d1e2c
committed
[PR 128] 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 17499a5 commit 18d1e2c
1 file changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
| |||
0 commit comments