summaryrefslogtreecommitdiff
path: root/misc/cpp-mcp/files/patch-CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'misc/cpp-mcp/files/patch-CMakeLists.txt')
-rw-r--r--misc/cpp-mcp/files/patch-CMakeLists.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/misc/cpp-mcp/files/patch-CMakeLists.txt b/misc/cpp-mcp/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..1c9f239fbece
--- /dev/null
+++ b/misc/cpp-mcp/files/patch-CMakeLists.txt
@@ -0,0 +1,12 @@
+--- CMakeLists.txt.orig 2025-08-28 05:34:14 UTC
++++ CMakeLists.txt
+@@ -46,7 +46,9 @@ add_subdirectory(src)
+ add_subdirectory(src)
+
+ # Add examples
++if (CPP_MCP_BUILD_EXAMPLES)
+ add_subdirectory(examples)
++endif()
+
+ # Add test directory
+ option(MCP_BUILD_TESTS "Build the tests" OFF)