summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-11-14 16:44:28 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2017-11-14 16:44:28 +0100
commit4a4c601d7fc7eaff33b1468930d7a6197f9b08f5 (patch)
treeff35bf6027c0838498e3c838f41fc284d0b760f0
parentba16f23513b14ee591e372e564401cedd644e45b (diff)
Fix: wgt config file usage to build widget
Change-Id: Ia160a42163d47f2b92f246cf1159da9fa2110527 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-rw-r--r--conf.d/cmake/config.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf.d/cmake/config.cmake b/conf.d/cmake/config.cmake
index 56b0898..973100b 100644
--- a/conf.d/cmake/config.cmake
+++ b/conf.d/cmake/config.cmake
@@ -98,7 +98,7 @@ set(LD_LIBRARY_PATH ${CMAKE_INSTALL_PREFIX}/lib64 ${CMAKE_INSTALL_PREFIX}/lib)
# Optional location for config.xml.in
# -----------------------------------
set(WIDGET_ICON ${PROJECT_APP_TEMPLATES_DIR}/wgt/${PROJECT_ICON})
-set(WIDGET_CONFIG_TEMPLATE ${CMAKE_CURRENT_SOURCE_DIR}/conf.d/wgt/config.xml.in)
+set(WIDGET_CONFIG_TEMPLATE ${CMAKE_CURRENT_SOURCE_DIR}/conf.d/wgt/config.xml.in CACHE PATH "Path to config.xml template file to use")
# Mandatory widget Mimetype specification of the main unit
# --------------------------------------------------------------------------