From bc1008ecbb289caec9e19571d7367db0bd1a6424 Mon Sep 17 00:00:00 2001 From: TJ Yin Date: Wed, 14 May 2025 11:46:27 -0700 Subject: [PATCH] Migrate OSS project to handle protocol split Summary: X-link: https://github.com/facebook/CacheLib/pull/386 X-link: https://github.com/facebook/fb303/pull/67 fbthrift has moved compact/binary protocol instantiation outside _types.cpp (to _types_compact.cpp and _types_binary.cpp). We need to add these two files to the build system. Differential Revision: D74687663 --- build/fbcode_builder/CMake/FBThriftCppLibrary.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build/fbcode_builder/CMake/FBThriftCppLibrary.cmake b/build/fbcode_builder/CMake/FBThriftCppLibrary.cmake index 7147fada23..e29e7921f6 100644 --- a/build/fbcode_builder/CMake/FBThriftCppLibrary.cmake +++ b/build/fbcode_builder/CMake/FBThriftCppLibrary.cmake @@ -69,6 +69,8 @@ function(add_fbthrift_cpp_library LIB_NAME THRIFT_FILE) "${output_dir}/gen-cpp2/${base}_data.h" "${output_dir}/gen-cpp2/${base}_data.cpp" "${output_dir}/gen-cpp2/${base}_types.cpp" + "${output_dir}/gen-cpp2/${base}_types_compact.cpp" + "${output_dir}/gen-cpp2/${base}_types_binary.cpp" "${output_dir}/gen-cpp2/${base}_metadata.cpp" ) foreach(service IN LISTS ARG_SERVICES)