diff --git a/cmake-linux/grpc.cmake b/cmake-linux/grpc.cmake index 63fa9ab..3243465 100644 --- a/cmake-linux/grpc.cmake +++ b/cmake-linux/grpc.cmake @@ -32,12 +32,12 @@ if(NOT EXISTS ${grpc_build_dir}) endif() set(CMAKE_PREFIX_PATH ${grpc_build_dir} - ${grpc_build_dir}/grpc/ - ${grpc_build_dir}/grpc/cmake/ + ${grpc_build_dir}/lib/cmake/protobuf + ${grpc_build_dir}/lib/cmake/grpc ${CMAKE_PREFIX_PATH}) find_package(Threads REQUIRED) -find_package(Protobuf CONFIG REQUIRED) +find_package(protobuf CONFIG REQUIRED) find_package(gRPC CONFIG REQUIRED) include_directories(${grpc_build_dir}/include) diff --git a/post_processor/post_processor.h b/post_processor/post_processor.h index ba30214..2699cbf 100644 --- a/post_processor/post_processor.h +++ b/post_processor/post_processor.h @@ -51,8 +51,8 @@ struct PostProcessOptions { // Post Processor class PostProcessor { public: - explicit PostProcessor(PostProcessOptions&& opts) : opts_(std::move(opts)) {} - explicit PostProcessor(const PostProcessOptions& opts) : opts_(opts) {} +// explicit PostProcessor(PostProcessOptions&& opts) : opts_(std::move(opts)) {} +// explicit PostProcessor(const PostProcessOptions& opts) : opts_(opts) {} // call other functions to do post processing std::string Process(const std::string& str, bool finish); // process spaces according to configurations