From: Romain Forlot Date: Thu, 24 Aug 2017 16:14:48 +0000 (+0200) Subject: Fix: luac invokation failed. X-Git-Tag: 4.99.1~33 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=1223c0b6db840cc067dfc17f4ae4c3fce11fa157;p=staging%2Fxdg-launcher.git Fix: luac invokation failed. Wrong way to use command argument in cmake variable Change-Id: I9a334a509d109d9243c7e8211a686757821fcb30 Signed-off-by: Romain Forlot --- diff --git a/cmake/cmake.d/02-variables.cmake b/cmake/cmake.d/02-variables.cmake index 54a362d..e2da418 100644 --- a/cmake/cmake.d/02-variables.cmake +++ b/cmake/cmake.d/02-variables.cmake @@ -169,6 +169,6 @@ set(GDB_INITIAL_BREAK "personality" CACHE STRING "Initial Break Point for GDB re # 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")