This is an automated email from the ASF dual-hosted git repository.
wwbmmm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brpc.git
The following commit(s) were added to refs/heads/master by this push:
new e9c8100f Fix wrong project and target names in
auto_concurrency_limiter example CMakeLists (#3565)
e9c8100f is described below
commit e9c8100ff03155f66eb6847106ce06b88a9a9949
Author: darion-yaphet <[email protected]>
AuthorDate: Thu Sep 24 16:51:20 2026 +0800
Fix wrong project and target names in auto_concurrency_limiter example
CMakeLists (#3565)
---
example/auto_concurrency_limiter/CMakeLists.txt | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/example/auto_concurrency_limiter/CMakeLists.txt
b/example/auto_concurrency_limiter/CMakeLists.txt
index 46ce0c43..db4551f7 100644
--- a/example/auto_concurrency_limiter/CMakeLists.txt
+++ b/example/auto_concurrency_limiter/CMakeLists.txt
@@ -16,7 +16,7 @@
# under the License.
cmake_minimum_required(VERSION 3.16...3.28)
-project(asynchronous_echo_c++ C CXX)
+project(auto_concurrency_limiter C CXX)
include(${CMAKE_CURRENT_LIST_DIR}/../cmake/BrpcExample.cmake)
@@ -26,10 +26,10 @@ brpc_example_find_common_deps(DYNAMIC_LIB)
protobuf_generate_cpp(PROTO_SRC PROTO_HEADER cl_test.proto)
-add_executable(asynchronous_echo_client client.cpp ${PROTO_SRC})
-brpc_example_configure_target(asynchronous_echo_client)
-add_executable(asynchronous_echo_server server.cpp ${PROTO_SRC})
-brpc_example_configure_target(asynchronous_echo_server)
+add_executable(auto_concurrency_limiter_client client.cpp ${PROTO_SRC})
+brpc_example_configure_target(auto_concurrency_limiter_client)
+add_executable(auto_concurrency_limiter_server server.cpp ${PROTO_SRC})
+brpc_example_configure_target(auto_concurrency_limiter_server)
-target_link_libraries(asynchronous_echo_client PRIVATE ${BRPC_LIB}
${DYNAMIC_LIB})
-target_link_libraries(asynchronous_echo_server PRIVATE ${BRPC_LIB}
${DYNAMIC_LIB})
+target_link_libraries(auto_concurrency_limiter_client PRIVATE ${BRPC_LIB}
${DYNAMIC_LIB})
+target_link_libraries(auto_concurrency_limiter_server PRIVATE ${BRPC_LIB}
${DYNAMIC_LIB})
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]