From 59dd8e3a9f8cce1330836a32a304c47c59c6ff8a Mon Sep 17 00:00:00 2001 From: Pierre d'Herbemont Date: Fri, 8 Feb 2008 15:16:48 +0000 Subject: [PATCH] cmake: Cache Lua library, as we won't define it the next time. --- extras/buildsystem/cmake/include/FindLua.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extras/buildsystem/cmake/include/FindLua.cmake b/extras/buildsystem/cmake/include/FindLua.cmake index 0adf64511c..8b49e7b999 100644 --- a/extras/buildsystem/cmake/include/FindLua.cmake +++ b/extras/buildsystem/cmake/include/FindLua.cmake @@ -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) -- 2.39.5