lua: put LUAPATH in quotes to prevent weird error messages when it is unset
This commit is contained in:
parent
f60010a424
commit
a204ae358b
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue