diff options
author | Stephane Desneux <stephane.desneux@iot.bzh> | 2017-06-08 17:00:20 +0200 |
---|---|---|
committer | Stephane Desneux <stephane.desneux@iot.bzh> | 2017-06-08 17:00:20 +0200 |
commit | 27195956862888c3b2cac2a9e89d2a9649d76ca8 (patch) | |
tree | 42524bb0563228f790fcfeba16af9cdcdf130840 | |
parent | 11cd63d4225d6fd490f8a00b21a2e8a7200c3ccf (diff) |
common.cmake: fix icon copy and final name in package
Change-Id: I6791a0e0de9e8f3d3b540550f9dfe9c06821f4ae
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
-rw-r--r-- | cmake/common.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmake/common.cmake b/cmake/common.cmake index f3d6d48..63396f6 100644 --- a/cmake/common.cmake +++ b/cmake/common.cmake @@ -187,7 +187,8 @@ macro(wgt_package_build) configure_file(${WGT_TEMPLATE_DIR}/config.xml.in ${PROJECT_PKG_BUILD_DIR}/config.xml) configure_file(${WGT_TEMPLATE_DIR}/config.xml.in ${PROJECT_PKG_ENTRY_POINT}/config.xml) - file(COPY ${WGT_TEMPLATE_DIR}/icon-default.png DESTINATION ${PROJECT_PKG_BUILD_DIR}/${PROJECT_ICON}) + file(COPY ${WGT_TEMPLATE_DIR}/icon-default.png DESTINATION ${PROJECT_PKG_BUILD_DIR}) + file(RENAME ${PROJECT_PKG_BUILD_DIR}/icon-default.png ${PROJECT_PKG_BUILD_DIR}/${PROJECT_ICON}) # Fulup ??? copy any extra file in wgt/etc into populate package before building the widget file(GLOB PROJECT_CONF_FILES "${WGT_TEMPLATE_DIR}/etc/*") |