mirror of
https://github.com/google/googletest.git
synced 2024-12-27 01:55:04 +08:00
Added explicit gtest library dependency
This commit is contained in:
parent
b6c4d434db
commit
81bc87652d
@ -141,7 +141,7 @@ The only modification you will need is to change
|
||||
|
||||
to
|
||||
|
||||
target_link_libraries(example gmock_main)
|
||||
target_link_libraries(example gtest gmock_main)
|
||||
|
||||
However, we also recommend adding the following lines (if using CMake 2.8.11 or later):
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user