Add missing thread dependency in cmake.
This commit is contained in:
parent
cad6a51a30
commit
1ece7c09af
1 changed files with 1 additions and 0 deletions
|
@ -17,6 +17,7 @@ add_library(gmock STATIC
|
|||
${protobuf_source_dir}/gmock/src/gmock-all.cc
|
||||
${protobuf_source_dir}/gmock/gtest/src/gtest-all.cc
|
||||
)
|
||||
target_link_libraries(gmock ${CMAKE_THREAD_LIBS_INIT})
|
||||
add_library(gmock_main STATIC ${protobuf_source_dir}/gmock/src/gmock_main.cc)
|
||||
target_link_libraries(gmock_main gmock)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue