File tree 3 files changed +9
-6
lines changed
3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -24,9 +24,11 @@ else()
24
24
include (cmake/Fetch_asyncpp.cmake)
25
25
endif ()
26
26
27
- add_library (asyncpp_grpc ${CMAKE_CURRENT_SOURCE_DIR} /src/grpc/client_cq.cpp
28
- ${CMAKE_CURRENT_SOURCE_DIR} /src/grpc/server.cpp
29
- ${CMAKE_CURRENT_SOURCE_DIR} /src/grpc/util.cpp)
27
+ add_library (
28
+ asyncpp_grpc
29
+ ${CMAKE_CURRENT_SOURCE_DIR} /src/grpc/client_cq.cpp
30
+ ${CMAKE_CURRENT_SOURCE_DIR} /src/grpc/server.cpp
31
+ ${CMAKE_CURRENT_SOURCE_DIR} /src/grpc/util.cpp)
30
32
target_link_libraries (
31
33
asyncpp_grpc PUBLIC asyncpp gRPC::grpc++ protobuf::libprotobuf
32
34
Threads::Threads)
@@ -48,7 +50,8 @@ if(ASYNCPP_BUILD_TEST)
48
50
49
51
add_executable (
50
52
asyncpp_grpc-test
51
- ${PROTO_SRCS} ${CMAKE_CURRENT_SOURCE_DIR} /test /traits.cpp
53
+ ${PROTO_SRCS}
54
+ ${CMAKE_CURRENT_SOURCE_DIR} /test /traits.cpp
52
55
${CMAKE_CURRENT_SOURCE_DIR} /test /call.cpp
53
56
${CMAKE_CURRENT_SOURCE_DIR} /test /client_cq.cpp
54
57
${CMAKE_CURRENT_SOURCE_DIR} /test /task.cpp)
Original file line number Diff line number Diff line change @@ -33,4 +33,4 @@ namespace asyncpp::grpc {
33
33
34
34
static std::shared_ptr<client_cq> get_default ();
35
35
};
36
- } // namespace asyncpp::grpc
36
+ } // namespace asyncpp::grpc
Original file line number Diff line number Diff line change @@ -40,4 +40,4 @@ namespace asyncpp::grpc {
40
40
static auto instance = std::make_shared<client_cq>();
41
41
return instance;
42
42
}
43
- } // namespace asyncpp::grpc
43
+ } // namespace asyncpp::grpc
You can’t perform that action at this time.
0 commit comments