• Adam Simpkins's avatar
    cmake: fix issues in the FindGMock module · 7d4c2a9b
    Adam Simpkins authored
    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
    7d4c2a9b
FindGMock.cmake 1.85 KB