From 381098a607f2a02400d472198817f182f43725fd Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Fri, 2 Nov 2018 14:15:34 +0100 Subject: Fix: missing files in test widget Adds the config.xml file and the test launcher script in the widget when built using the test_widget target. Without config.xml file the widget can't be installed. Change-Id: Iaedfcef49ae0d6748e55f6fa5e07d373124ed078 Signed-off-by: Romain Forlot --- cmake/cmake.d/03-macros.cmake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cmake') diff --git a/cmake/cmake.d/03-macros.cmake b/cmake/cmake.d/03-macros.cmake index 651e3d7..0a94564 100644 --- a/cmake/cmake.d/03-macros.cmake +++ b/cmake/cmake.d/03-macros.cmake @@ -608,7 +608,9 @@ You need a config.xml template: please specify WIDGET_CONFIG_TEMPLATE correctly. add_custom_target(packaging_wgt DEPENDS ${PROJECT_PKG_BUILD_DIR}/config.xml) add_custom_target(widget DEPENDS ${WGT_NAME}.wgt) add_custom_target(packaging_test_wgt DEPENDS ${PROJECT_PKG_TEST_DIR}/config.xml ${PROJECT_PKG_TEST_DIR}/bin/launcher) - add_custom_target(test_widget DEPENDS ${WGT_NAME}-test.wgt) + add_custom_target(test_widget DEPENDS ${WGT_NAME}-test.wgt + ${PROJECT_PKG_TEST_DIR}/config.xml + ${PROJECT_PKG_TEST_DIR}/bin/launcher) endif() add_dependencies(widget populate packaging_wgt) -- cgit 1.2.3-korg