Wrong way to use command argument in cmake variable
Change-Id: I9a334a509d109d9243c7e8211a686757821fcb30
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
# Define some checker binaries to verify input DATA files
# to be included in package. Schema aren't checked for now.
# Dummy checker about JSON.
-set(LUA_CHECKER "luac -o /dev/null" CACHE STRING "LUA compiler")
+set(LUA_CHECKER "luac" "-o" "/dev/null" CACHE STRING "LUA compiler")
set(XML_CHECKER "xmllint" CACHE STRING "XML linter")
set(JSON_CHECKER "echo" CACHE STRING "JSON linter")