From 70a6c36ce87eb621b6e38b8621e0e9b2ec7e86b9 Mon Sep 17 00:00:00 2001 From: Guobang Bi <373318510@qq.com> Date: Wed, 22 Jan 2020 19:10:01 +0800 Subject: [PATCH] revert some stuff --- Qv2ray.pro | 32 ++++++++++++++------------------ 1 file changed, 14 insertions(+), 18 deletions(-) diff --git a/Qv2ray.pro b/Qv2ray.pro index a5d575dd..3a490c1f 100644 --- a/Qv2ray.pro +++ b/Qv2ray.pro @@ -153,24 +153,20 @@ message(" ") RC_ICONS += ./assets/icons/qv2ray.ico ICON = ./assets/icons/qv2ray.icns -contains( CONFIG, with_backend ) { - message("Compiling Qv2ray with custom backend") -} else { - # ------------------------------------------ Begin checking gRPC and protobuf headers. - !exists(libs/gen/v2ray_api_commands.grpc.pb.h) || !exists(libs/gen/v2ray_api_commands.grpc.pb.cc) || !exists(libs/gen/v2ray_api_commands.pb.h) || !exists(libs/gen/v2ray_api_commands.pb.cc) { - message(" ") - message("-----------------------------------------------") - message("Cannot continue: ") - message(" --> Qv2ray is not properly configured yet: ") - message(" gRPC and protobuf headers for v2ray API is missing.") - message(" --> Please run gen_grpc.sh gen_grpc.bat or deps_macOS.sh located in tools/") - message(" --> Or consider reading the build wiki: https://github.com/lhy0403/Qv2ray/wiki/Manually-Build-Qv2ray") - message("-----------------------------------------------") - message(" ") - warning("IF YOU THINK IT'S A MISTAKE, PLEASE OPEN AN ISSUE") - error("! ABORTING THE BUILD !") - message(" ") - } +# ------------------------------------------ Begin checking gRPC and protobuf headers. +!exists(libs/gen/v2ray_api_commands.grpc.pb.h) || !exists(libs/gen/v2ray_api_commands.grpc.pb.cc) || !exists(libs/gen/v2ray_api_commands.pb.h) || !exists(libs/gen/v2ray_api_commands.pb.cc) { + message(" ") + message("-----------------------------------------------") + message("Cannot continue: ") + message(" --> Qv2ray is not properly configured yet: ") + message(" gRPC and protobuf headers for v2ray API is missing.") + message(" --> Please run gen_grpc.sh gen_grpc.bat or deps_macOS.sh located in tools/") + message(" --> Or consider reading the build wiki: https://github.com/lhy0403/Qv2ray/wiki/Manually-Build-Qv2ray") + message("-----------------------------------------------") + message(" ") + warning("IF YOU THINK IT'S A MISTAKE, PLEASE OPEN AN ISSUE") + error("! ABORTING THE BUILD !") + message(" ") }