diff options
Diffstat (limited to 'examples/hello_world')
-rw-r--r-- | examples/hello_world/CMakeLists.txt | 6 | ||||
-rw-r--r-- | examples/hello_world/hello_world_client.cpp | 2 | ||||
-rw-r--r-- | examples/hello_world/hello_world_service.cpp | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/examples/hello_world/CMakeLists.txt b/examples/hello_world/CMakeLists.txt index b7f7c78..2aabd02 100644 --- a/examples/hello_world/CMakeLists.txt +++ b/examples/hello_world/CMakeLists.txt @@ -9,9 +9,9 @@ project (vSomeIPHelloWorld) # This will get us acces to # VSOMEIP_INCLUDE_DIRS - include directories for vSomeIP # VSOMEIP_LIBRARIES - libraries to link against -find_package(vsomeip) -if (NOT vsomeip_FOUND) - message("vsomeip was not found. Please specify vsomeip_DIR") +find_package(${VSOMEIP_NAME}) +if (NOT ${VSOMEIP_NAME}_FOUND) + message("${VSOMEIP_NAME} was not found. Please specify vsomeip_DIR") endif() find_package(Threads REQUIRED) diff --git a/examples/hello_world/hello_world_client.cpp b/examples/hello_world/hello_world_client.cpp index cecdf67..37bd0d9 100644 --- a/examples/hello_world/hello_world_client.cpp +++ b/examples/hello_world/hello_world_client.cpp @@ -93,7 +93,7 @@ public: // Send the request to the service. Response will be delivered to the // registered message handler std::cout << "Sending: " << str << std::endl; - app_->send(rq, true); + app_->send(rq); } } diff --git a/examples/hello_world/hello_world_service.cpp b/examples/hello_world/hello_world_service.cpp index 7af031c..ce07721 100644 --- a/examples/hello_world/hello_world_service.cpp +++ b/examples/hello_world/hello_world_service.cpp @@ -115,7 +115,7 @@ public: resp->set_payload(resp_pl); // Send the response back - app_->send(resp, true); + app_->send(resp); // we have finished terminate(); } |