From 962ad9068960ecf86f46582223fae80a3c567fa9 Mon Sep 17 00:00:00 2001 From: nekosu Date: Sat, 21 Oct 2023 02:13:14 +0800 Subject: [PATCH] feat: prevent MaaRpcCli popup console --- source/MaaRpc/cli/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/MaaRpc/cli/CMakeLists.txt b/source/MaaRpc/cli/CMakeLists.txt index 35873ca1b..0d187e3c5 100644 --- a/source/MaaRpc/cli/CMakeLists.txt +++ b/source/MaaRpc/cli/CMakeLists.txt @@ -1,6 +1,6 @@ file(GLOB maa_rpc_cli_src ./*.cpp) -add_executable(MaaRpcCli ${maa_rpc_cli_src}) +add_executable(MaaRpcCli WIN32 ${maa_rpc_cli_src}) target_include_directories(MaaRpcCli PRIVATE ../../../include) target_link_libraries(MaaRpcCli MaaRpc)