Add fbcode_builder to module path (#9172)
commitdd3f3f98b90a44ed3286d430e3bcd7cb69ee0d0f
authorBo Yang <atry@fb.com>
Wed, 7 Sep 2022 18:25:51 +0000 (7 11:25 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Wed, 7 Sep 2022 18:25:51 +0000 (7 11:25 -0700)
treed7c756459a4ba0caf408cc0b8c755e2e2b3f993e
parent2d6bdff19aab34847e46618a8086301ae34fba40
Add fbcode_builder to module path (#9172)

Summary:
Pull Request resolved: https://github.com/facebook/hhvm/pull/9172

This diff adds fbcode_builder to module path so that we could use find modules that are consistent with other OSS projects. This diff should not change the find_package behavior for now because HHVM's own find modules still have higher priority.

I will create more diff to remove some HHVM's own find modules to switch to fbcode_builder's find modules, especially find modules for glog and gflags.

The `NO_MODULE` option is added for `LibUnwind`, because `fbcode_builder` provids a `FindLibUnwind.cmake` that is incompatible with the existing `find_package(LibUnwind)` call.

Reviewed By: Wilfred

Differential Revision: D39313365

fbshipit-source-id: 3a3b8f57a247dedc2797bca54a5a234227264341
CMakeLists.txt
third-party/folly/CMakeLists.txt