Commit 5f7848c
Link against GTest::gmock target (#1699)
* Link against GTest::gmock target
Linking against the target makes sure GTEST_LINKED_AS_SHARED_LIBRARY=1
is defined, which makes sure the object files and the other tests both
expect to get the gtest symbols from another dll on windows.
Signed-off-by: Shane Loretz <sloretz@intrinsic.ai>
Signed-off-by: Alejandro Hernandez Cordero <ahcorde@gmail.com>
Co-authored-by: Alejandro Hernandez Cordero <ahcorde@gmail.com>1 parent 0a44588 commit 5f7848c
2 files changed
Lines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
361 | 361 | | |
362 | 362 | | |
363 | 363 | | |
364 | | - | |
365 | | - | |
366 | | - | |
367 | 364 | | |
368 | 365 | | |
369 | 366 | | |
| 367 | + | |
370 | 368 | | |
371 | 369 | | |
372 | 370 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
375 | 375 | | |
376 | 376 | | |
377 | 377 | | |
378 | | - | |
379 | | - | |
380 | 378 | | |
381 | 379 | | |
| 380 | + | |
382 | 381 | | |
383 | 382 | | |
384 | 383 | | |
| |||
0 commit comments