cmake: fix issues in the FindGMock module
Summary: - Fix the variable name passed to FIND_PACKAGE_HANDLE_STANDARD_ARGS() so that it matches the module name (`FindGMock.cmake`). This makes sure that the failure is detected correctly if GMock is not found. - googletest depends on pthreads, so use `find_package(Threads)` and add `Threads::Threads` to the list of required library dependencies. Reviewed By: yfeldblum Differential Revision: D9212536 fbshipit-source-id: eae6220a2dbfe777bff1ac0ee0fb4df53de16955
Showing
Please register or sign in to comment