summaryrefslogtreecommitdiff
path: root/misc/cpp-mcp/files/patch-CMakeLists.txt
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2025-08-27 23:03:36 -0700
committerYuri Victorovich <yuri@FreeBSD.org>2025-08-28 02:40:49 -0700
commit1f97191576c597a9b0f705066a6831fde3bec20e (patch)
treee81881ce758fe24be7415edc52b72fb0ba5f3550 /misc/cpp-mcp/files/patch-CMakeLists.txt
parentmisc/llama-cpp: update 6191 → 6301 (diff)
misc/cpp-mcp: New port: Lightweight C++ MCP (Model Context Protocol) SDK
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)