From 19c0faf5dcb5c7e58136f6ba56c65535baac2efb Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Fri, 10 Mar 2017 02:09:23 +0100 Subject: Change also where wgt file is since we build into a subdirectory Change-Id: I8cf568292035f1e8fd73d41ed91d5bd7d9d7c512 Signed-off-by: Romain Forlot --- src/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 85a498f..44114e1 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -81,7 +81,7 @@ message(STATUS "Creation of ${PROJECT_NAME} binding for AFB-DAEMON") ########################################################################### add_library(${PROJECT_NAME} MODULE ${PROJECT_NAME}.cpp configuration.cpp can/can-bus.cpp can/can-bus-dev.cpp can/can-message.cpp can/can-signals.cpp can/can-decoder.cpp - obd2/obd2-signals.cpp obd2/diagnostic-manager.cpp + obd2/obd2-signals.cpp obd2/diagnostic-manager.cpp obd2/active-diagnostic-request.cpp utils/signals.cpp utils/openxc-utils.cpp utils/timer.cpp utils/socket.cpp) target_link_libraries(${PROJECT_NAME} ${EXTRAS_LIBRARIES} bitfield isotp uds openxc pthread) @@ -117,6 +117,6 @@ add_custom_target(widget ALL DEPENDS ${PROJECT_NAME}.wgt) #message(STATUS "Creation of ${PROJECT_NAME}.wgt package for AppFW") ########################################################################### install(CODE "execute_process( - COMMAND scp -r ${CMAKE_SOURCE_DIR} ${PROJECT_NAME}.wgt ${TARGET}:/tmp + COMMAND scp -r ${CMAKE_SOURCE_DIR} src/${PROJECT_NAME}.wgt ${TARGET}:/tmp COMMAND ssh ${TARGET} \"/usr/bin/afm-util remove ${PROJECT_NAME}@${PROJECT_VERSION} && /usr/bin/afm-util install /tmp/${PROJECT_NAME}.wgt\")" ) -- cgit 1.2.3-korg