Commit 59dd8e3a authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

cmake: Cache Lua library, as we won't define it the next time.

parent e1d3a964
......@@ -20,7 +20,7 @@ if (NOT Lua_SEARCHED)
if (NOT Lua_FOUND)
find_library( Lua_LIBRARY NAMES lua5.1 lua51 lua)
if (Lua_LIBRARY)
set(Lua_LIBRARIES "${Lua_LIBRARY}")
set(Lua_LIBRARIES "${Lua_LIBRARY}" CACHE INTERNAL "")
set(Lua_FOUND TRUE CACHE INTERNAL "")
endif (Lua_LIBRARY)
endif (NOT Lua_FOUND)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment