Fix: wgt config file usage to build widget
authorRomain Forlot <romain.forlot@iot.bzh>
Tue, 14 Nov 2017 15:44:28 +0000 (16:44 +0100)
committerRomain Forlot <romain.forlot@iot.bzh>
Tue, 14 Nov 2017 15:44:28 +0000 (16:44 +0100)
Change-Id: Ia160a42163d47f2b92f246cf1159da9fa2110527
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
conf.d/cmake/config.cmake

index 56b0898..973100b 100644 (file)
@@ -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
 # --------------------------------------------------------------------------