zeek/auxil/vcpkg/ports/fbthrift/fix-test.patch
Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

17 lines
523 B
Diff

diff --git a/thrift/lib/cpp2/CMakeLists.txt b/thrift/lib/cpp2/CMakeLists.txt
index 439f0814..3374dd34 100644
--- a/thrift/lib/cpp2/CMakeLists.txt
+++ b/thrift/lib/cpp2/CMakeLists.txt
@@ -15,11 +15,6 @@
# Set the cpp2 directory
set(LIB_CPP2_HOME ${CMAKE_CURRENT_SOURCE_DIR})
-if (enable_tests)
- add_subdirectory(protocol/test)
-endif ()
-add_subdirectory(test)
-
#######
# CMAKE variables only have local/subdirectory scope
# So even though this is defined in ../thrift/CMakeLists.txt as a variable