projects
/
project
/
uci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31d4b69
)
uci: fix Lua finding
author
Yegor Yefremov
<yegorslists@googlemail.com>
Sun, 6 Apr 2014 19:41:32 +0000
(21:41 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 6 Apr 2014 20:48:44 +0000
(22:48 +0200)
If ${LUAPATH} is not quoted and Lua is not provided, then following
error occurs:
"NOT" "No such file or directory" "EQUAL" "0" "OR" "EQUAL" ""
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
lua/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/lua/CMakeLists.txt
b/lua/CMakeLists.txt
index e4295d7d452b1c4b129587288f335d28bf2faa0f..4ba8e37c860cd6250f0b8fe82e4a1d27f11cfbb1 100644
(file)
--- a/
lua/CMakeLists.txt
+++ b/
lua/CMakeLists.txt
@@
-36,7
+36,7
@@
IF(NOT LUAPATH)
)
IF(BUILD_LUA)
- IF(NOT ${LUA_CHECK_RES} EQUAL 0 OR
${LUAPATH}
EQUAL "")
+ IF(NOT ${LUA_CHECK_RES} EQUAL 0 OR
"${LUAPATH}"
EQUAL "")
MESSAGE(SEND_ERROR "Lua was not found on your system")
ENDIF()
ENDIF()