summaryrefslogtreecommitdiff
path: root/examples/routingmanagerd
diff options
context:
space:
mode:
Diffstat (limited to 'examples/routingmanagerd')
-rw-r--r--examples/routingmanagerd/CMakeLists.txt2
-rw-r--r--examples/routingmanagerd/routingmanagerd.cpp5
2 files changed, 4 insertions, 3 deletions
diff --git a/examples/routingmanagerd/CMakeLists.txt b/examples/routingmanagerd/CMakeLists.txt
index 51504e5..e0d85aa 100644
--- a/examples/routingmanagerd/CMakeLists.txt
+++ b/examples/routingmanagerd/CMakeLists.txt
@@ -3,8 +3,6 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-cmake_minimum_required (VERSION 2.8...3.23.2)
-
# Daemon
add_executable(routingmanagerd routingmanagerd.cpp)
target_link_libraries(routingmanagerd ${VSOMEIP_NAME} ${Boost_LIBRARIES} ${DL_LIBRARY} ${DLT_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
diff --git a/examples/routingmanagerd/routingmanagerd.cpp b/examples/routingmanagerd/routingmanagerd.cpp
index b2118f6..7290808 100644
--- a/examples/routingmanagerd/routingmanagerd.cpp
+++ b/examples/routingmanagerd/routingmanagerd.cpp
@@ -16,8 +16,9 @@
#include <vsomeip/internal/logger.hpp>
#ifdef USE_DLT
+#ifndef ANDROID
#include <dlt/dlt.h>
-
+#endif
#endif
static std::shared_ptr<vsomeip::application> its_application;
@@ -64,8 +65,10 @@ void routingmanagerd_stop(int _signal) {
*/
int routingmanagerd_process(bool _is_quiet) {
#ifdef USE_DLT
+#ifndef ANDROID
if (!_is_quiet)
DLT_REGISTER_APP(VSOMEIP_LOG_DEFAULT_APPLICATION_ID, VSOMEIP_LOG_DEFAULT_APPLICATION_NAME);
+#endif
#else
(void)_is_quiet;
#endif