lua: put LUAPATH in quotes to prevent weird error messages when it is unset

This commit is contained in:
Felix Fietkau 2012-05-06 10:25:46 +02:00
parent f60010a424
commit a204ae358b

View file

@ -31,7 +31,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()