cmake: fix generation of folly-config.cmake
Summary: The install step for folly CMake-based builds installs a folly-config.cmake file that downstream projects can use to depend on folly in their own CMakeLists.txt files. CMakeLists.txt was previously generating the folly-config.cmake file by copying CMake/folly-deps.cmake. This seems wrong, as the installed folly-config.cmake file should not contain `find_package()` statements that depend on CMake modules only available in the folly source. This adds a new folly-config.cmake.in template instead. Reviewed By: yfeldblum Differential Revision: D7035992 fbshipit-source-id: e6023094a807cf481ac49998c6f21b213be6c288
Showing
CMake/folly-config.cmake.in
0 → 100644
Please register or sign in to comment