From 4d907718f39e2b0f7a0c714c2e3de289e742fc61 Mon Sep 17 00:00:00 2001
From: Carl <415692979@qq.com>
Date: 星期四, 28 三月 2024 13:42:00 +0800
Subject: [PATCH] 修正commit 87b62d68957a2194b017a43b6c2a15424a05a984 引入的英文整句标点预测导致末尾两个单词中间的空格被删除的问题。 (#1556)
---
runtime/websocket/CMakeLists.txt | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/runtime/websocket/CMakeLists.txt b/runtime/websocket/CMakeLists.txt
index 13472da..ba6497a 100644
--- a/runtime/websocket/CMakeLists.txt
+++ b/runtime/websocket/CMakeLists.txt
@@ -31,7 +31,7 @@
# cmake_policy(SET CMP0135 NEW)
include(FetchContent)
- if(NOT EXISTS ${PROJECT_SOURCE_DIR}/third_party/websocket )
+ if(NOT EXISTS ${PROJECT_SOURCE_DIR}/third_party/websocket/websocketpp )
FetchContent_Declare(websocketpp
GIT_REPOSITORY https://github.com/zaphoyd/websocketpp.git
GIT_TAG 0.8.2
@@ -42,7 +42,7 @@
endif()
include_directories(${PROJECT_SOURCE_DIR}/third_party/websocket)
- if(NOT EXISTS ${PROJECT_SOURCE_DIR}/third_party/asio )
+ if(NOT EXISTS ${PROJECT_SOURCE_DIR}/third_party/asio/asio )
FetchContent_Declare(asio
URL https://github.com/chriskohlhoff/asio/archive/refs/tags/asio-1-24-0.tar.gz
SOURCE_DIR ${PROJECT_SOURCE_DIR}/third_party/asio
@@ -52,7 +52,7 @@
endif()
include_directories(${PROJECT_SOURCE_DIR}/third_party/asio/asio/include)
- if(NOT EXISTS ${PROJECT_SOURCE_DIR}/third_party/json )
+ if(NOT EXISTS ${PROJECT_SOURCE_DIR}/third_party/json/ChangeLog.md )
FetchContent_Declare(json
URL https://github.com/nlohmann/json/archive/refs/tags/v3.11.2.tar.gz
SOURCE_DIR ${PROJECT_SOURCE_DIR}/third_party/json
--
Gitblit v1.9.1