From a204ae358be1d5e0bb3a56bd54980851f553588e Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 6 May 2012 10:25:46 +0200 Subject: [PATCH] lua: put LUAPATH in quotes to prevent weird error messages when it is unset --- lua/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/CMakeLists.txt b/lua/CMakeLists.txt index 6c22bfc..b4fa4d9 100644 --- a/lua/CMakeLists.txt +++ b/lua/CMakeLists.txt @@ -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() -- 2.30.2