Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow folly to build on systems not having the config-fmt.cmake (face…
…book#1328) Summary: As written in the documentation, {fmt} should be built alongside folly. This is not possible in my case. My usecase is to provide some kind of small distribution of shared libraries that can be installed on any systems. Hence I really need to have libfmt treated as a normal shared lib. Moreover, libfmt can be consumed on our side as a normal library outside on cmake. We do not provide the cmake config file which are strongly dependent on the system on which libfmt is installed. My proposal is to first look for the fmt-config.cmake as it is now but in case of cmake support is not provided by system, we fall back to a normal library lookup. Pull Request resolved: facebook#1328 Reviewed By: simpkins Differential Revision: D20312046 Pulled By: yfeldblum fbshipit-source-id: 2d6b4917b37a8ed1d553600599702259db22c212
- Loading branch information