-
Notifications
You must be signed in to change notification settings - Fork 608
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmake: find folly using its CMake package configuration file
Summary: Update thrift's CMakeLists.txt to find folly using its installed CMake package configuration file, and depend on it via the `Folly::folly` target. By using the `Folly::folly` target all include directories required to use folly are automatically included in the include paths, and all libraries that folly depends on are automatically added to the link line. Since wangle only requires double-conversion indirectly via folly I also deleted the explicit checks for double-conversion. Note that this change does require that folly was built and installed with CMake, rather than with its older autoconf build system. Reviewed By: wez Differential Revision: D7479054 fbshipit-source-id: 093a69d83e9f1c62718d22cec8d6b180d84e4325
- Loading branch information
1 parent
e11059b
commit 16844d9
Showing
5 changed files
with
11 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters