Thrift's open source project will be referring directly to Yarpl project.
In the yarpl project's parent project (rsocket), we download gmock and then reference that from yarpl. So if we build the Yarpl project alone, it was failing to find gmock.
We don't need to build the unit tests for the fb_thrift project, so I have added a flag to yarpl/CMakeLists.txt that when that flag is set to OFF, it will not build the unit tests.
In the future we might add more if cases, in case gmock is not found.
Thrift's open source project will be referring directly to Yarpl project. In the yarpl project's parent project (rsocket), we download gmock and then reference that from yarpl. So if we build the Yarpl project alone, it was failing to find gmock.
We don't need to build the unit tests for the fb_thrift project, so I have added a flag to yarpl/CMakeLists.txt that when that flag is set to OFF, it will not build the unit tests.
In the future we might add more if cases, in case gmock is not found.