diff options
author | Scott Murray <scott.murray@konsulko.com> | 2022-06-07 15:33:50 -0400 |
---|---|---|
committer | Scott Murray <scott.murray@konsulko.com> | 2022-06-07 15:43:22 -0400 |
commit | 202cc44bc311a20a7016759d1a4e7bcba6064f7d (patch) | |
tree | 23501093ffb20f2e98b18431e81472171bc3dd6b /app/CMakeLists.txt | |
parent | 00fa784cdb2570f742511820b885b1c3e18b6d01 (diff) |
Add VIS vehicle signal support
Use the new VehicleSignals API from libqtappfw to replace the
previous signal-composer usage. Additionally, the default unit
for the vehicle speed has been switched to kilometers with switching
driven by the appropriate VSS schema value.
Bug-AGL: SPEC-4409
Change-Id: I3c40ea004e1c66e9775865aaa424e24778cb0f53
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Diffstat (limited to 'app/CMakeLists.txt')
-rw-r--r-- | app/CMakeLists.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/CMakeLists.txt b/app/CMakeLists.txt index e786164..d78eed6 100644 --- a/app/CMakeLists.txt +++ b/app/CMakeLists.txt @@ -69,17 +69,18 @@ add_executable(${PROJECT_NAME} pkg_check_modules(GLIB REQUIRED glib-2.0) pkg_check_modules(WAYLAND_CLIENT REQUIRED wayland-client) +pkg_check_modules(QTAPPFW_VEHICLE_SIGNALS REQUIRED qtappfw-vehicle-signals) include_directories( include_directories(${Qt5Gui_PRIVATE_INCLUDE_DIRS}) - ${QTAPPFW_INCLUDE_DIRS} + ${QTAPPFW_VEHICLE_SIGNALS_INCLUDE_DIRS} ${GLIB_INCLUDE_DIRS} ) target_link_libraries(${PROJECT_NAME} Qt5::QuickControls2 Qt5::QuickWidgets - ${QTAPPFW_LIBRARIES} + ${QTAPPFW_VEHICLE_SIGNALS_LIBRARIES} ${GLIB_LDFLAGS} ${WAYLAND_CLIENT_LIBRARIES} ) |