search for the cpp2 and py fbthrift components

Summary:
D17401218 updated the fbthrift CMake files to define components for the cpp2
and py generators.  Eden requires both of these, so explicitly request them
when finding fbthrift.

Reviewed By: wez

Differential Revision: D17493950

fbshipit-source-id: 49410c08d847de404cc24c67fd1a25f75aad2518
This commit is contained in:
Adam Simpkins 2019-09-20 11:33:28 -07:00 committed by Facebook Github Bot
parent 40ab42dc42
commit 5c1cfe1897

View File

@ -36,7 +36,7 @@ include_directories(${FIZZ_INCLUDE_DIR})
find_package(wangle CONFIG REQUIRED)
include_directories(${WANGLE_INCLUDE_DIR})
find_package(FBThrift CONFIG REQUIRED)
find_package(FBThrift CONFIG REQUIRED COMPONENTS cpp2 py)
include_directories(${FBTHRIFT_INCLUDE_DIR})
find_package(yarpl CONFIG REQUIRED)