Message ID | CAGm1_kvmveF6QpT66fMfW+psigqShdzMi-_9bQthrnsA8q6mdg@mail.gmail.com |
---|---|
State | Not Applicable |
Headers | show |
Dear Yegor Yefremov, On Sat, 5 Apr 2014 16:44:06 +0200, Yegor Yefremov wrote: > IF(NOT ${LUA_CHECK_RES} EQUAL 0 OR "${LUAPATH}" EQUAL "") > > Could you test this? > > diff --git a/lua/CMakeLists.txt b/lua/CMakeLists.txt > index e4295d7..4ba8e37 100644 > --- 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() This patch fixes the problem here. Can you send a patch for it? I'm pretty sure you can reproduce the problem if you disable Lua in your configuration. Thomas
diff --git a/lua/CMakeLists.txt b/lua/CMakeLists.txt index e4295d7..4ba8e37 100644 --- 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()