-- Add type-cpp2-target to thriftmetadata build dependencies. -- protocol_types.h (generated by protocol-cpp2-target) includes type_types.h -- (generated by type-cpp2-target), but type-cpp2-target was missing from the -- add_dependencies() call, causing parallel builds to fail with -- "type_types.h: file not found" when compilation started before generation. --- thrift/lib/cpp2/CMakeLists.txt.orig 2026-05-12 21:25:32 UTC +++ thrift/lib/cpp2/CMakeLists.txt @@ -98,6 +98,7 @@ add_dependencies(thriftmetadata metadata-cpp2-target any_rep-cpp2-target protocol-cpp2-target protocol_detail-cpp2-target + type-cpp2-target type_id-cpp2-target type_system-cpp2-target schema-cpp2-target