From: Romain Forlot <romain.forlot@iot.bzh>
Date: Tue, 14 Nov 2017 15:42:05 +0000 (+0100)
Subject: Fix: config.xml.in template usage
X-Git-Tag: 4.0.3^0
X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=4efca1e200d7aa75db5539dbeeb1d60769f7e1a4;p=apps%2Flow-level-can-service.git

Fix: config.xml.in template usage

Change-Id: I03f11e2b8954eea0862df5126187f37aae801092
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
---

diff --git a/conf.d/cmake/config.cmake b/conf.d/cmake/config.cmake
index a1c9067..051320e 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_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.")
 
 # Mandatory widget Mimetype specification of the main unit
 # --------------------------------------------------------------------------