diff --git a/CMakeLists.txt b/CMakeLists.txt index 3be56113f..df4a2ce68 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -244,15 +244,15 @@ include_directories(${EXE} PRIVATE ${RAPIDJSON_INCLUDE_DIRS}) find_package(yaml-cpp CONFIG REQUIRED) target_link_libraries(${EXE} PRIVATE yaml-cpp) - #Find gRPC - find_package(gRPC CONFIG REQUIRED) - target_link_libraries(${EXE} PRIVATE gRPC::gpr gRPC::grpc gRPC::grpc++) - # Find Protobuf include(FindProtobuf) include_directories(${Protobuf_INCLUDE_DIRS}) target_link_libraries(${EXE} PRIVATE ${Protobuf_LIBRARIES}) +#Find gRPC +find_package(gRPC CONFIG REQUIRED) +target_link_libraries(${EXE} PRIVATE gRPC::gpr gRPC::grpc gRPC::grpc++) + # Find OpenSSL find_package(OpenSSL REQUIRED) target_link_libraries(${EXE} PRIVATE OpenSSL::SSL OpenSSL::Crypto)